js-java-setup icon indicating copy to clipboard operation
js-java-setup copied to clipboard

Problem with WinXP

Open eivinhb opened this issue 12 years ago • 2 comments

We had two problems running this example in a Windows XP enviroment.

The first issue occurs when running mvn requirejs:optimize. It presents it self as a StackOverflowException that happens when r.js is running in Rhino. We solved this by adding a MAVEN_OPTS=-Xss1m to increase the stack size. We can't see a solution for the project it self but rather a comment in the documentations should be enough.

The second issue we has is with Jetty locking files in dev-mode. This can be resolved by adding a file to the project, namely "jetty-plugin-webdefaults.xml" and specify this in the pom.xml:

eks: https://gist.github.com/ff7edf17cfedc66fc80f

eivinhb avatar Jan 11 '13 12:01 eivinhb

Thanks for the feedback, @eivinhb! I'll add a note in the readme on increasing the stack size.

Oh, of course, I forgot about the Jetty locking problem (which is also present on Win7). I'll try to get a fix out soon :)

kimjoar avatar Jan 11 '13 15:01 kimjoar

Sounds good.

eivinhb avatar Jan 11 '13 15:01 eivinhb