Download Apache Ant For Mac
In this tutorial, we will show you how to install Apache Ant on Mac OSX.
Nov 26, 2020 Ant is already installed on some older versions of Mac OS X, so you should run ant -version to test if it is installed before attempting to install it. If it is not already installed, then your best bet is to install Homebrew ( brew install ant ) or MacPorts ( sudo port install apache-ant ), and use those tools to install Apache Ant. Just4log is a ant task to optimize JVM bytecode with regards for Logs ( be it, Log4j, Apache Commons or JDK 1.4 ) It depends on apache BCEL for Bytecode engineering. Note: As the Sourceforge project site shows, the last update was on Oct 19 2003.
Tools :
- Apache Ant 1.9.4
- Mac OSX Yosemite 10.10
Download Apache Ant 1.9.6
In older version of Mac, Apache Ant may be already installed by default, check if Apache Ant is installed :
1. Get Apache Ant
Visit Apache Ant website, and get the .tar.gz file.
Apache Ant Download Windows 64
2. Extracts It
Copy the downloaded gz file to your favorite location, extracts it.
P.S The Apache Ant commands are available at folder $APACHE_ANT_FOLDER/bin
.
3. Environment Variable
Set the command ant
as the environment variable, so that you can “ant” build your project everywhere.
Exports $ANT_HOME/bin
, save and restart terminal.
Apache Ant 1.7 Download
Test it again, now, you can access the ant
command everywhere.
Done.
Apache Ant 1.9.4 Download
References
Founder of Mkyong.com, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.