Ant Framework mac software, free downloads and reviews at WinSite. Ant's Nest v.1.8 A Java-based GUI for the quick and simple drag 'n' drop creation of Apache Ant. Apr 30, 2018 Today I am going to explain that how to install ANT on Mac OS in few easy steps. Apache Ant is Java library and command line tool used to “build” or run tasks. It’s pretty popular in the Java Community along with Maven. Apache Ant is a completely free, cross-platform and open source command-line software implemented in Java, distributed along with the Apache project, and designed from the ground up as a powerful build system for compiling applications written in the Java programming language. Similar to GNU make. Apache Ant™ Apache Ant is a Java library and command-line tool that help building software. Downloading Apache Ant Use the links below to download a binary distribution of Ant from one of our mirrors. It is good practice to verify the integrity of the distribution files, especially if you are using one of our mirror sites.
![Apache Apache](https://www.admfactory.com/wp-content/uploads/2016/02/HelloWorld.png)
Apache Ant Download Windows 10
Installing Apache Ant on MAC is quite different from Windows.
We use Terminal instead of cmd prompt in MAC.
Steps to Install Apache Ant on MAC OS X:
1. Download the latest version of Apache Ant.
2. Open the Terminal application.
3. Now you’ll need to manipulate files in the /usr/local/ which means you’ll need root privileges. To get them use “sudo” command (lucky you are, Mac OS X already has sudo as well) and enter your root password.
sudo sh
System_name:~ Username$ sudo sh
Password:
sh-3.2$
4. Move/Copy the archive into /usr/local/:
mv apache-ant-1.8.4-bin.tar.gz /usr/local/
5. Go to /usr/local/:
cd /usr/local/
sh-3.2$ cd /usr/local/
6. Unarchive the sources:
tar xvzf apache-ant-1.8.4-bin.tar.gz
sh-3.2$ tar xvzf apache-ant-1.8.4-bin.tar.gz
7. Change the apache-ant-1.8.4 directory owner to your normal user:
chown YourUsername:YourGroup apache-ant-1.8.4
If you’re not sure about the username and the group simply type “ls –la”. This command will print out all files and directories in the current directory (/usr/local/). The Ant sources you just copied will have your username and your group:
-rw-r--r--@ 1 Sams staff 5425171 12 Feb 15:24 apache-ant-1.8.4-bin.tar.gz
sh-3.2# ls -la
total 10600
drwxr-xr-x 5 root wheel 170 Feb 12 16:05 .
drwxr-xr-x@ 11 root wheel 374 Dec 29 19:47 ..
drwxr-xr-x@ 14 root wheel 476 Feb 12 16:05 apache-ant-1.8.4
-rw-r--r--@ 1 user_name staff 5425171 Feb 12 15:24 apache-ant-1.8.4-bin.tar.gz
drwxr-xr-x 4 root wheel 136 Dec 29 19:47 bin
8. Now you can run Ant by typing /usr/local/apache-ant-1.8.4. Not very convenient, huh?
9. Let’s make it work more friendly:
First, create a symbolic link to refer the application as ant instead of apache-ant-1.8.:
ln -s apache-ant-1.8.4 ant
sh-3.2# ln -s apache-ant-1.8.4 ant
Second, add the following lines into your shell config:
export ANT_HOME_DIR=/usr/local/ant
export PATH=${PATH}:${ANT_HOME_DIR}/bin
sh-3.2# export ANT_HOME_DIR=/usr/local/ant
sh-3.2# export PATH=${PATH}:${ANT_HOME_DIR}/bin
sh-3.2#
10. Restart your Terminal and type “ant”. If it says “Buildfile: build.xml does not exist! Build failed” which means that Apache Ant works correctly.
Else open terminal and type,
ant -version