Ant is an Apache project and is hosted at Apache Ant - Welcome. Its primary use is building Java projects but it can be used for a variety of tasks, although generally it has fallen from favour and Maven is often preferred, however it is still an active project.


First off, download and install a JDK and make sure your JAVA_HOME is set correctly. Then download the binaries for Ant from Apache Ant - Binary Distributions or if your Linux distribution has a package, use that instead. Make sure your ANT_HOME is set, this should be something like ANT_HOME=C:\Dev\apache-ant-1.9.7. Then add %ANT_HOME%\bin to your path and finally check all is working with ant -diagnostics.