Ant

 
 
Ant is an open-source Java-based build tool. The configuration files are XML-based, calling out a target tree where various tasks get executed. Each task is run by an object that implements a particular Task interface.

The binary distribution of Ant includes the latest version of the Apache Xerces2 XML parser. Ant is distributed at no charge for commercial or non-commercial use. For more information read the LICENSE file.

The latest Ant version can be downloaded from: http://ant.apache.org/






Installing Ant 1.10.1



Information
none

Operating system used
macOS (Sierra) 10.12.3

Software prerequisites
Java 2 Standard Edition (J2SE) SDK, version 1.8 or higher.


Procedure
  1. Download and unzip apache-ant-1.10.1-bin.zip

  2. Modify your .bash_profile and set the ANT_HOME variable to the directory where you installed Ant.
    e.g.: export ANT_HOME=/Users/robertlie/tools/apache-ant-1.10.1



  3. To check if Ant is installed correctly, type: ant -version
    You should see:
    Apache Ant(TM) version 1.10.1 compiled on February 2 2017