Home » Coding, Open Source Tools

Gant, the Lightweight and Groovy Targeted Scripting Framework

6 January 2010 No Comment

Gant started out as a thin layer over Groovy’s AntBuilder, to provide a way of replacing XML as the way of controlling Ant tasks in executing specific targets. This more or less remains what Gant is really about: Gant doesn’t simply replace the XML front end to Ant, it provides target specification and dependency for Groovy scripts that use an AntBuilder. There was some flirtation with Gant becoming a fully-fledged build framework, but Gradle evolved out of Gant to take up that torch. Gant’s role then is to be very lightweight and yet provide useful functionality in terms of command line and direct API support for specifying targets to execute and scripting execution of Ant tasks. In this talk we will look at the Groovy techniques used in Gant to provide the functionality it does. Particular emphasis will be placed on using (or not) the metaclass system, and how to design (or more likely evolve) a domain specific language (DSL) to be well supported by the Groovy language.

Watch this video on Skillsmatter.com

Related Videos:

Comments:

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.

*