O'Reilly logo

Java™ Application Development on Linux® by Michael Schwarz, Carl Albing

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required