Chapter 6. Extending Ant with Custom Tasks, Data Types, and Listeners
The previous two chapters introduced the rich array of built-in and optional tasks. As large as this set of tasks is, there always seems to be some task that’s needed but that Ant doesn’t support. As you might have guessed by the number of optional tasks, an API exists that allows a third party to extend Ant. An examination of Ant’s built-in tasks reveals that they also use this API. Because this API is central to how Ant functions, let’s take some time to enhance our understanding of it. After exploring that API, we’ll finish the chapter discussing how to build a custom build listener. Before we start, let’s identify a task to help us better understand the interactions between ...
Get Ant Developer’s Handbook 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.