Chapter 8. Putting it all together

8.1 How to write good build files
8.2 Building the diary library
8.3 Adopting Ant
8.4 Building an existing project under Ant
8.5 Summary

We’ve introduced the basic concepts, tasks, and types of Ant. We’ve shown how it reads build files containing targets and tasks, showing Ant what needs to be done to build a project. We’ve looked at Ant’s tasks, targets, properties, and datatypes, and we’ve shown you how to automate the build and compile, test, package, and distribute a Java project. You should now be able to create build files to accomplish the most common build-related tasks, such as <javac>, <copy>, <zip> and <jar>.

What we haven’t shown you is a single build file that incorporates all these things. ...

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.