Chapter 9. Ant: An Introduction

Ant[1] is a tool for building and deploying collections of files. It is particularly suited to building and deploying Java applications (in no small part because it is written in Java). Ant is well worth knowing and using for all but the simplest Java applications.

What You Will Learn

  • How to install and set up Ant.

  • Enough about XML to read an Ant buildfile.

  • The basic tags used in most buildfiles.

  • The extent of our remaining ignorance after completing the chapter.

The Need for a Different Build Tool

James Duncan Davidson had a problem. Perhaps you’ve had this problem, too. It has to do with the building of software—compiling, copying, and otherwise modifying files to get all the pieces in all the right places for running ...

Get Java™ Application Development on Linux® 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.