Guys,
what is Apache ant ?
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.
That's it. try :)
Sunday, 15 August 2010
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment