On 15 mai, 03:23, BR <benjamin.ren...@gmail.com> wrote:
> I am getting this error while compiling with 1.6.4 under MacOSX 10.5.6
>
> Anyone knows why? It seems to compile fine otherwise.
AFAICT, the Compiler tries 2 kind of factories for its compile workers
(that allow compiling permutations in parallel, and make the whole
compile faster), a thread-based factory and a socket-based one (that
could even allows sharding a compile on multiple machines IIUC !).
The initialisation of the socket-based factory fails with the below
error, but the compilation continues with the remaining, thread-based,
factory (if no factory could have been created, only then it would
fail).
So you can safely ignore this error.
If you don't want it, from what I understand from the code, you should
be able to tell the compiler to only use the thread-based factory by
setting the gwt.jjs.permutationWorkerFactory system property to
com.google.gwt.dev.ThreadedPermutationWorkerFactory, e.g. by passing
the following to your java command line:
-
Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.ThreadedPermutationWorkerFactory
> [ERROR] Communication error
> [INFO] java.net.ConnectException: Connection refused
> [INFO] at java.net.PlainSocketImpl.socketConnect
> (Native Method)
> [INFO] at java.net.PlainSocketImpl.doConnect
> (PlainSocketImpl.java:333)
> [INFO] at java.net.PlainSocketImpl.connectToAddress
> (PlainSocketImpl.java:195)
> [INFO] at java.net.PlainSocketImpl.connect
> (PlainSocketImpl.java:182)
> [INFO] at java.net.SocksSocketImpl.connect
> (SocksSocketImpl.java:432)
> [INFO] at java.net.Socket.connect(Socket.java:520)
> [INFO] at java.net.Socket.connect(Socket.java:470)
> [INFO] at java.net.Socket.<init>(Socket.java:367)
> [INFO] at java.net.Socket.<init>(Socket.java:180)
> [INFO] at com.google.gwt.dev.CompilePermsServer.run
> (CompilePermsServer.java:242)
> [INFO] at com.google.gwt.dev.CompilePermsServer.main
> (CompilePermsServer.java:233)
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---