U
UPDATED 09/23/2010 to 1.8.1, links to a working download again :)
Download and setup ANT:
cd /usr/src wget http://mirror.cc.columbia.edu/pub/software/apache//ant/binaries/apache-ant-1.8.1-bin.tar.gz tar -zxvf apache-ant-1.8.1-bin.tar.gz
mv apache-ant-1.8.1 /usr/local/ant
Export Variables for Ant:
export ANT_HOME=/usr/local/ant
export PATH=$PATH:/usr/local/ant/bin
You should do the same thing in /etc/bashrc so that you don't have to keep exporting everything everytime you login:
echo ‘export ANT_HOME=/usr/local/ant’ >> /etc/bashrc echo ‘export PATH=$PATH:/usr/local/ant/bin’ >> /etc/bashrcThat should be all...
0 comments:
Post a Comment