Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

Ant 1.6 installation

Jon

2008-09-05

Replies: Find Java Web Hosting

Author LoginPost Reply
I'm trying to install Apache Ant 1.6 and have updated the following entries
within */etc/profile* to ensure that the installation is complete.

JAVA_HOME=/usr/java/j2sdk1.4.2_18
*ANT_HOME=/usr/local/apache2/apache-ant-1.6.0*
export JAVA_HOME PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC ANT_HOME
export PATH=$JAVA_HOME/bin:$PATH:*ANT_HOME/bin
*
The problem is that when I run ./ant -version from any other path other than
the command line, the version number is displayed. Hence any user trying to
use *ant* from any other path would not be able to do so:

*
/usr/java/j2sdk1.4.2_18/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:ANT_HOME/bin:/home/sinfo/bin
[sinfo@(protected)
-bash: ./ant: No such file or directory
[sinfo@(protected)
[sinfo@(protected)
Apache Ant version 1.6.0 compiled on December 18 2003
[sinfo@(protected)]$*


Rgds,


--
Jon Camilleri

Mobile (MT): 00356 7982 7113
E-mail: camilleri.jon@(protected)
Please consider your environmental responsibility before printing this
e-mail.

I usually reply to e-mails within 2 business days. If it's urgent, give me a
call.
©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.