Chapter 17. Writing Ant tasks

17.1 What exactly is an Ant task?
17.2 Introducing Ant’s Java API
17.3 A useful task: <filesize>
17.4 Testing tasks with AntUnit
17.5 More task attributes
17.6 Supporting nested elements
17.7 Working with resources
17.8 Delegating to other tasks
17.9 Other task techniques
17.10 Making an Antlib library
17.11 Summary

There comes a moment where it becomes clear that Ant doesn’t do everything you need. It may be that something minor is missing, such as not being able to pass all the options you want to <junit> or <java>. It may be that something major is absent, like having no way to run a custom test framework. It may even be that a common Ant task doesn’t work quite right. This happens to everyone and ...

Get Ant in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.