Step 1: Get Ant distribution from
official website.
Step 2: Move Ant to a directory
Step 3: Unzip Ant distribution
tar xzf apache-ant-1.9.3-bin.tar.gz
Step 4: Set environment
export ANT_HOME=<Your ANT Directory>
export PATH=$ANT_HOME/bin:$PATH
Step 5: Test ant
ant -version
Reference:
Install Apache Ant
No comments:
Post a Comment