
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.

One Comment
Hey – heres a link to the download, docs, source for this extension.
One Trackback/Pingback
[...] where you really need reuse. .NET developers will be pleased to hear that there’s some macrodef support for Nant as [...]
Post a Comment