Install Ant 1.8.2

The following is an example of installing Ant v1.8.2. These instructions assume that WAS v8.0 is already installed on the host. We install Ant to /opt/IBM/WebSphere/ant

  1. Download Ant 1.8.2

  2. Log on as user root, edit $HOME/.profile, and set...

      export PATH ANT_HOME
      #export JAVA_HOME=/usr/java6/jre/bin

  3. Save, then source the file

      . ./.profile

  4. Verify Java 6 is installed

      root@myhost / # echo $PATH
      root@myhost / # java -version
      java version "1.6.0"
      Java(TM) SE Runtime Environment (build pap3260sr11-20120806_01(SR11))
      IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc-32 jvmap3260sr11-20120801_118201 (JIT enabled, AOT enabled)
      J9VM - 20120801_118201
      JIT - r9_20120608_24176ifx1
      GC - 20120516_AA)
      JCL - 20120713_01

  5. Copy Ant to target host

      cd /opt/IBM/WebSphere
      scp -r root@myhostA:/export/ant .

  6. Verify Ant functionality

      ant -version