HOMEInstall 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
- Download Ant 1.8.2
- Log on as user root, edit $HOME/.profile, and set...
PATH=$PATH:/opt/IBM/WebSphere/ant/bin:.
ANT_HOME=/opt/IBM/WebSphere/ant
export PATH ANT_HOME
#export JAVA_HOME=/usr/java6/jre/bin- Save, then source the file
. ./.profile
- Verify Java 6 is installed
root@myhost / # echo $PATH
/usr/bin:/usr/local/bin:/usr/sbin:/bin:/sbin:/usr/java6/jre/bin:/usr/java6/bin:.
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- Copy Ant to target host
cd /opt/IBM/WebSphere
scp -r root@myhostA:/export/ant .- Verify Ant functionality
ant -version