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 content of the Guides give Focus only to the Essentials Instructions and Commands for an easier understanding ;)

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:

    bash
  6. Test Apache Ant Installation

    ant -v

Tags: ,