I’ve been working on a small project using Google Web Toolkit, which is a pretty nice framework. However, it’s not exactly easy to integrate into a normal build environment with ant, as it’s based on command line utilities.
After a while, I got tired of it and wrote an Ant task which can compile GWT modules into javascript. I know that others have attempted the same, but as far as I could tell, they all required you to hardcode module names in build.xml, which is not very nice.
So, using the task I wrote, it’s possible to generate javascript for a set of modules using a single task. Plus, it’s a little faster when compiling more modules, as it doesn’t have to restart the compiler completely every time.
Try it out. It’s released under a GPL license.
Update: I got a notice that the task doesn’t work under Windows – that should be fixed now.
Update 2: Version 1.1.0 of GWT requires an new compiler. Get it here.
Update 3: The project is now hosted at Google Code, and new releases can be downloaded there.




Looks cool! I especially like the idea of using XDoclet to build GWT apps. I want to try out your stuff, but it seems the link to http://braindump.dk/gwt-xdoclet-1.2.3.jar is broken…?
Cheers
-Mark