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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.