How-to Install and Setup the Latest Apache Ant on Mac OS X Practical Guide

September 8th, 2012 by Regaz



This Article Shows You How-to Install the Latest Apache Maven on Mac OS X.

The Details Include How-to SetUp Ant to Make it Works.

The Content and Details are Expressly Reduced to Give Focus Only to the Essentials Instructions and Commands and Make the Tut Easier to Understand ;)

Apache on Mac
  1. Download Apache Ant:

    Latest Ant bin.tar.gz
  2. Double-Click to Untar
  3. Open a Terminal Window
    (Press “Enter” to Execute Commands)
  4. Relocate Ant
    sudo mv /apache-ant-x.y.z /opt
  5. Set-Up Variable and Path
    nano ~/.bashrc

    Insert:

    export ANT_HOME=/opt/apache-ant-x.y.z
    export PATH=ANT_HOME/bin:$PATH

    Load New Set-Up:

    source ~/.bashrc
  6. Test Apache Ant Installation
    ant -v
(Visited 1 times, 1 visits today)
Share on Tumblr

Tags: ,


Comments are disabled