Saturday, May 19, 2012

Re: Cannot add "-localWorkers" to GWT Compiler when using Eclipse?

Sorry for answering my own question. I've found that I need to add the
following to my VM arguments:

-
Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.ThreadedPermutationWorkerFactory

Gain about 40% on compilation with 4 workers on 8 core machine ;-)

Edson.


On May 19, 7:53 pm, Edson Richter <brvik...@gmail.com> wrote:
> Hi,
>
> I've GWT 2.4.0 installed in Eclipse Indigo. Everything works fine,
> except that when I add "-localWorkers 4" into compilation
> configuration, I get the error described below.
>
> Compiler options:
>
> -war war/secure -deploy ./deploy -extra ./extra -localWorkers 4 -
> strict
>
> Error during compilation:
>
> Compiling module MyComponent
>    Compiling 2 permutations
>       Compiling permutation 0...
>       Process output
>          [ERROR] Could not create the Java virtual machine.
>          [ERROR] Unknown option or illegal argument: -logLevel.
>          [ERROR] Please check for incorrect spelling or review
> documentation of startup options.
>          [ERROR]
>       Compiling permutation 1...
>    Compile of permutations succeeded
> Linking into C:\Users\richter\workspace\...\MyComponent; Writing
> extras to C:\Users\richter\workspace\...\extra\MyComponent
>    Link succeeded
>    Compilation succeeded -- 108,368s
>
> And system stay calculating permutations on only one thread (my
> machine has 8 physical cores, and only one is active during
> compilation).
>
> Can someone help me?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate