On Jun 1, 4:25 pm, Pandaman <[email protected]> wrote: > My issue is that running this build script takes forever (let's say>30 min on > a Pentium D, I haven't tested it for longer). I think it > > has to do with the fact that there is a huge amount of source in the > src directory and huge number of resulting class files in the gen > directory. My GWT module touches only 1% of the rest of the source > though. Is it possible to optimize the GWT compiler such that it only > looks at the source reachable from the module (i.e. source that the > module calls)? So far, all that I can think of is specifying the > minimal amount of inherits in the gwt.xml file.
The GWT compiler aready does this. I'm not familiar with SmartGWT but it may be partly to blame here. Anything which does something nontrivial with a huge number of classes may prevent that code from being discarded and this would increase compile times and the size of the final script output. You may want to try running with slightly more verbose logging (-DlogLevel=DEBUG) and tee that to a file. You can then review it to see if there is a lot of things being pulled in you might not expect. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
