Skip to content

Not working when doing bundle with java #5

@eeroan

Description

@eeroan

Everything works fine when using node for bundling, with command:
node build/r-2.0.2.js -o build/booking.build.js

But when doing same with java and rhino like this:
java -classpath build/js.jar:build/compiler.jar org.mozilla.javascript.tools.shell.Main build/r-2.0.2.js -o build/booking.build.js

I get following error:

Tracing dependencies for: booking
TypeError: Cannot call property get in object [object Object]. It is not a function, it is "undefined".
In module tree:
booking
initDom
tpl

TypeError: Cannot call property get in object [object Object]. It is not a function, it is "undefined".
In module tree:
booking
initDom
tpl

I'm using latest version of closure compiler and rhino.
Version of require.js is 2.0.4 and r.js 2.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions