Chapter 18. Extending Ant further

18.1 Scripting within Ant
18.2 Conditions
18.3 Writing a custom resource
18.4 Selectors
18.5 Developing a custom mapper
18.6 Implementing a custom filter
18.7 Handling Ant’s input and output
18.8 Embedding Ant
18.9 Summary

We’ve just been extending Ant with custom tasks in Java. Is that all that can be done to adapt it to a project? No, not at all! Some of the other ways that Ant can be extended are by

  • Writing tasks using scripting languages with the <script> and <scriptdef> tasks
  • Writing new conditions for use in <condition>, <fail>, and other tasks
  • Writing custom resources, filters, selectors, and mappers
  • Monitoring the build process with custom build listeners and loggers
  • Embedding Ant inside ...

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.