
We have version 1.7.1 in the CentOS 6.8 repository, so it's better to use this script, which is offered in the previous article. Important: we need a version no lower than 1.8.*. Using Ant is the same for both Linux and Windows.Īnt can easily be installed from the repository using a command like sudo apt-get install ant (replace apt-get on yum if necessary). Build scripts and Java examples have been tested in Linux (Simply Linux 7.95.0, CentOS Linux 6.8) and Windows (XP/7).


Specify the project name and the default target.Web developers also use this tool even though it's Java-oriented. Ant uses a build script, which is a simple XML file. It is a popular software build tool, completely written in Java.

Apache Ant should be familiar to every Java programmer.
