Friends,
What isApache ant?
Apache ant is an automatic build software tool. It is similar to make, but its implementation is Java. Its operation requires the Java platform and is most suitable for building Java projects.
To install Apache ant on a Linux server, follow these steps:
Log on to the server over SSH:
========================================================== ================================
1.Download the installation package:
Wget http://apache.mirrors.tds.net/ant/binaries/apache-ant-1.8.1-bin.tar.gz
2.Extract:
Tar-xzvf apache-ant-1.8.1-bin.tar.gz
3.Switch to the extract directory:
Cd apache-ant-1.8.1
4.Copy:
CP-ARP */usr/local/ant
5.Path settings:
Echo 'export Path = $ path:/usr/local/ANT/bin'>/etc/profile
6.Ant_home settings:
Echo 'export ant_home =/usr/local/ant'>/etc/profile
7.Set the path for this Login:
Export Path = $ path:/usr/local/ANT/bin
8.Set this login ant_home:
Export ant_home =/usr/local/ant
========================================================== ================================
Now you can run ant-V or ant -- version to verify whether your ant has been installed?
In this case, try :)
Original article: http://kmaiti.blogspot.com/2010/08/how-to-install-apache-ant-on-linux.html.