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

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