Apache Ant is a software tool for automating software build processes. It is similar to Make but is implemented using the Java language, requires the Java platform, and is best suited to building Java projects.
I followed following steps :
Login into the server via SSH :
====
1. wget http://apache.mirrors.tds.net/ant/binaries/apache-ant-1.8.1-bin.tar.gz
2. tar -xzvf apache-ant-1.8.1-bin.tar.gz
3. cd apache-ant-1.8.1
4. cp -arp * /usr/local/ant
5. echo 'export PATH=$PATH:/usr/local/ant/bin'>>/etc/profile
6. echo 'export ANT_HOME=/usr/local/ant'>>/etc/profile
7. export PATH=$PATH:/usr/local/ant/bin
8. export ANT_HOME=/usr/local/ant
====
Now, execute ant -v or ant --version to check the ant.
By : singlehop.com

Responses
0 Respones to "How to install apache ant on linux server?"
Post a Comment
»Thank you for reading this article
If you have questions or comments, please leave a comment
»You can click on the Subscribe by email to subscribe comments of this post
»You can register directly link pictures, mp3, video on the comment form.
»You may use some HTML tags such
»Please post comments polite and typing accented Vietnamese if possible
»Thank the good faith comment