Update: Eion Curran, the author of this code, passed away in 2010. Thanks to Brad for pointing this out. R.I.P, Eion.
The single finest new feature of Ant 1.6 is the macrodef type. It allows you to take loads of horrid lines of XML, antcall tasks, and allowed you to collapse them all down into a single element. If you’re using the Eclipse Ant editor, you can even complete on the macrodef after you declare it. Sweet!
Macrodefs never made it to Nant. Sour!
There is an unofficial macrodef for Nant. I never got around to testing it. However, my ex-colleague Mark did, and he’s happy with the result. I’ll download it tomorrow. Thanks Mark.