Beyond Linux® From Scratch - Version 7.5

Chapter 13. Programming

apache-ant-1.9.3

Introduction to Apache Ant

The Apache Ant package is a
Java-based build tool. In theory,
it is kind of like make, but without make's wrinkles. Ant is different. Instead of a model that is
extended with shell-based commands, Ant is extended using Java classes. Instead of writing shell
commands, the configuration files are XML-based, calling out a
target tree that executes various tasks. Each task is run by an
object that implements a particular task interface.

This package is known to build and work properly using an LFS-7.5
platform.

Configuring Apache Ant

Config
Files

/etc/ant/ant.conf, ~/.ant/ant.conf, and ~/.antrc

Configuration Information

Some packages will require ant to be in the search path
and the $ANT_HOME environment variable
defined. Satisfy these requirements by adding the following lines
to /etc/profile or to individual
user's ~/.profile or ~/.bashrc files: