Saturday, March 15, 2008

Replacing Ant

Ant uses XML as a scripting language. It is not a valid use case for XML. How can you debug Ant script? You can only run its target and see what is a result and fix it if the result is not good.

Raven to the rescue! Raven is a build tool for Java programs based on Rake and Ruby Gems.
Raven gives you a small library of Rake tasks that you can use to compile your java classes, build a jar file, build a war file, produce javadoc, wrap the jar you built in a Gem. This effectively gives you everything you need to build Java projects, using Gems for dependencies management and Rake for scripts.

Other alternative is Buildr. Buildr is a build system for Java applications.

No comments: