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

September 8, 2012 | By Duchateaux.

This Article shows you How to Install the Latest Apache Maven on macOS.

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


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

    Load New Set-Up:

  6. Test Apache Ant Installation

    ant -v

QuickChic Theme • Powered by WordPress