That's a very good question. Logically the gwt compiler would be capable of determining which modules have anything changed in them and only compile those modules. However it could be that it doesn't do this. For one, during the obfuscation process I'm not sure that the compiler would know where one module starts and ends in order to only modify portions of the compiled script. Unfortunately I simply do not know the answer.
I'll give you what I do know for increasing compiler performance. Here's the list of compiler arguments: http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html#What_are_the_options_that_can_be_passed_to_hosted_mode Passing the option -localWorkers x to the compiler, where x is the number of cores you have available, will allow each permutation being compiled to be simultaneously compiled on separate cores. (Each permutation is for a different browser and/or language.) You can also choose to only compile one permutation and do the majority of your testing on one browser. The following link explains how to do that: http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html#Can_I_speed_up_the_GWT_compiler? Hope this helps. On Feb 16, 10:33 am, Christofer Jennings <[email protected]> wrote: > Does breaking a project up into multiple modules have any affect on compile > time? > > I'm on a project with about 5 minute compile times. Our hardware needs to be > updated, but I'm looking for other ways to improve the build time. > > Refresh times are better when in DevMode, but even waiting 20 seconds can > really open the door for distraction and hit productivity. And since it > happens many many times a day, I'm hoping I can improve that as well. Would > breaking the project up into modules help DevMode refresh more quickly? > > thanks! > ,boz -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
