Skip to Content »

Tech Life of Recht » archive for 'ant'

 New GWT task for Ant

  • April 16th, 2009
  • 1:03 pm

GWT 1.6 was released recently, and because of some pretty major changes in the compiler, my old GWT task for Ant broke (with an InstantiationException when trying to run the task). For some reason, GWT is still not provided with a real Ant task for compiling GWT modules, so I decided to update my old task.

This means that a new version, 1.2, has been released. I’ve also moved the code to Google Code, so now issues can be filed there. I’ll try to move the instruction pages to the Google Code site also, but for now, only the issue tracker and Subversion repository is used.

The task works as always, but to use it with GWT 1.6, you have to add a version=”1.6″ attribute to the element in order to switch to 1.6. The version value can be 1.4, 1.5, or 1.6. 1.4 and 1.5 enables the old compiler, and is the default value.

Download the new version here and report issues here.