What you describe, Alex, is available via the "Compiler" entry point, though
it hasn't been particularly well documented.  There is a
PermutationWorkerFactory that can create CompilePerms workers.  The default
worker factory spawns Java VMs on the same machine, but it is possible to
write a replacement worker that uses ssh or whatnot to do the work on a
separate machine.  The way to plug in a replacement worker factory is to set
the Java property gwt.jjs.permutationWorkerFactory .


That said, I thought the reason for existence of Precompile, CompilePerms,
and Link is to get the best build time but at the expense of needing extra
configuration.  We are finding that by spending a few seconds copying source
code over, we save 10+ minutes in Precompile and 10+ minutes in Link.

Is copying source code so inconvenient that it would be worth having a
slower build?  I would have thought any of the following would work to move
source code from one machine to another:

1. rsync
2. jar + scp
3. "svn up" on the slave machines

Do any of those seem practical for your situation, Alex?

Overall, it's easy to provide an extra build staging as an option, but we
support a number of build stagings already....

Lex

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to