Linux安装apache ant
wget http://mirrors.advancedhosters.com/apache/ant/binaries/apache-ant-1.10.12-bin.tar.gz
sudo tar xvfvz apache-ant-1.10.12-bin.tar.gz -C /opt
sudo ln -s /opt/apache-ant-1.10.12 /opt/ant
sudo sh -c 'echo ANT_HOME=/opt/ant >> /etc/environment'
sudo ln -s /opt/ant/bin/ant /usr/bin/ant
ant -version