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

September 8, 2012 | By Regaz | Filed in: Uncategorized.

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 Contents and Details are Expressly Minimal 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


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

    Load New Set-Up:

  6. Test Apache Ant Installation
    ant -v

Tags: ,