In nearly all developers’ toolboxes, Ant is the standard build tool for Java applications, thanks to its open, standard, and multiplatform structure. Though it represents a great improvement in automating production of complex J2EE applications, the choice of using XML syntax to express build automation has shown some limitations and drawbacks. In this article, Filippo Diotalevi shows how to put together Ant and Groovy (the new JVM scripting language) to build a more flexible and powerful automation tool