You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
I used the built-in GWT compiler (2.5.0) in Eclipse 4.2.1. After a few hours compilation, I finally got the following error. Any suggestion will be greatly appreciated.
Compiling 2 permutations [ERROR] Unable to start external process java.io.IOException: Cannot run program "C:\Program Files\Java\jdk1.6.0_38\jre\bin\java": CreateProcess error=206, The filename or extension is too long at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) at com.google.gwt.dev.ExternalPermutationWorkerFactory.launchExternalWorker(ExternalPermutationWorkerFactory.java:278) at com.google.gwt.dev.ExternalPermutationWorkerFactory.getWorkers(ExternalPermutationWorkerFactory.java:366) at com.google.gwt.dev.PermutationWorkerFactory.createWorkers(PermutationWorkerFactory.java:366) at com.google.gwt.dev.PermutationWorkerFactory.compilePermutations(PermutationWorkerFactory.java:267) at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:207) at com.google.gwt.dev.Compiler.run(Compiler.java:242) at com.google.gwt.dev.Compiler.run(Compiler.java:198) at com.google.gwt.dev.Compiler$1.run(Compiler.java:170) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82) at com.google.gwt.dev.Compiler.main(Compiler.java:177)
Thomas Broyer
unread,
Jun 21, 2013, 6:15:51 AM6/21/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
As a workaround, you can disable external workers and use only threads: launch your GWT Compiler process with -Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.ThreadedPermutationWorkerFactory. It'll use a single thread by default, so you'll probably want to also use -Dgwt.jjs.maxThreads=4 (4 being picked relative to the number of cores on the machine)