Skip to content
This repository has been archived by the owner on Jul 17, 2022. It is now read-only.

RequireJS: Gradle Script hangs even though r.js finishes processing. #75

Open
lucasvo opened this issue Nov 11, 2013 · 0 comments
Open

Comments

@lucasvo
Copy link

lucasvo commented Nov 11, 2013

I've managed to get a configuration where r.js finishes successfully if I run it in node:

MBLAV ➜ jam-login (master*) node r.js -o /Users/lucasvo/Code/jam/jam-login/web-app/js/requireConfig.js out=/Users/lucasvo/Code/jam/jam-login/web-app/js/build.js baseUrl=web-app/js/ name=main mainConfigFile=/Users/lucasvo/Code/jam/jam-login/web-app/js/main.js optimize=uglify2 generateSourceMaps=true preserveLicenseComments=false logLevel=1

/Users/lucasvo/Code/jam/jam-login/web-app/js/build.js


/Users/lucasvo/Code/jam/jam-login/web-app/js/libs/jquery/jquery-1.10.2.js
/Users/lucasvo/Code/jam/jam-login/web-app/js/libs/underscore/underscore.js
/Users/lucasvo/Code/jam/jam-login/web-app/js/libs/backbone/backbone.js
/Users/lucasvo/Code/jam/jam-login/web-app/js/libs/require/text.js
text!templates/passwordWidget.html
/Users/lucasvo/Code/jam/jam-login/web-app/js/passwordWidget.js
/Users/lucasvo/Code/jam/jam-login/web-app/js/main.js

MBLAV ➜ jam-login (master*)

but gradle never finishes and gets stuck at the following position:

3:01:07.540 [INFO] [org.gradle.process.internal.DefaultExecHandle] Successfully started process 'command '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java''

Building > :runRequireJs^C%

More gradle output: https://gist.github.com/lucasvo/7420334

I'm debugging what settings options could cause this but am a bit lost given that r.js doesn't seem to have an issue with it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant