My fellow Ant committer Kev Jackson has written an article for ONJava titled Ant 1.7: Using Antlibs.
While Antlibs have been available since Ant 1.6.0 and Ant 1.7 won't add any big improvements here, they still seem to become more important with Ant 1.7. The reason here is that the Ant project has started (will start, actually) to release new tasks as Antlibs instead of bundling them as optional tasks - three of them are expected to get released soon and work is under way to move the Microsoft Visual Source Safe support to a separate Antlib as well. Others of the more specific tasks are bound to follow.
In his article Kev describes how to use but also how to develop an Antlib, creating an Antlib as a command line wrapper over GNU Arch on his way. He covers testing using JUnit and BuildFileTest as well as AntUnit. He probably is the first one to show a few details of it.
Kev is going to speak at ApacheCon Asia next week, BTW.
path: /en/Apache/Ant | #