Ant Terminology

As you’ve already seen, Ant introduces some new terminology. Although you might be already familiar with these terms, it’s always good to know what they mean in the present context. This section runs through the top-level terms.

Project

A project defines one or more targets and any number of properties. There is only one project block in any one build file. Table 1.1 details the attributes associated with this tag.

Table 1.1. Project Attributes
Attribute Description
name The name of the project.
default The default target that will be run if none is specified in the command line. The default is main.
basedir The directory from which all the relative paths are calculated. The default is the directory from which the script ...

Get Ant Developer’s Handbook now with O’Reilly online learning.

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