ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Ant 1.6 installation
Date Fri, 05 Sep 2008 09:54:02 GMT
Another point: why do you install Ant 1.6.0 (18 December 2003) when 1.7.1 (27 June 2008) is
out?
http://ant.apache.org/faq.html#history


Jan

-----Urspr√ľngliche Nachricht-----
Von: Vivek Payala [mailto:vivek_payala@persistent.co.in] 
Gesendet: Freitag, 5. September 2008 11:48
An: 'Ant Users List'; jon_camilleri@yahoo.it
Betreff: RE: Ant 1.6 installation

'./' will try to look for the 'ant' executable under the current working directory.

 

Try issuing the command,

 

[sinfo@triton2 /]$ ant -version

 

instead of,

 

[sinfo@triton2 /]$ ./ant -version

 

 

Hope this helps!

 

Thanks,

 

Vivek Payala | Team Lead - Configuration Management (Professional & Managed Services Group)
| Persistent Systems

vivek_payala@persistent.co.in  | Cell: +91 93701 31472 | Tel: +91 (20) 3023 6447

Innovation in software product design, development and delivery- www.persistentsys.com

 

 

-----Original Message-----
From: Jon [mailto:camilleri.jon@gmail.com] 
Sent: Friday, September 05, 2008 3:12 PM
To: user@ant.apache.org
Subject: Ant 1.6 installation

 

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@triton2 /]$ ./ant -version

-bash: ./ant: No such file or directory

[sinfo@triton2 /]$ cd $ANT_HOME/bin

[sinfo@triton2 bin]$ ./ant -version

Apache Ant version 1.6.0 compiled on December 18 2003

[sinfo@triton2 bin]$*

 

 

Rgds,

 

 

-- 

Jon Camilleri

 

Mobile (MT): 00356 7982 7113

E-mail: camilleri.jon@gmail.com

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.


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent
Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed.
If you are not the intended recipient, you are not authorized to read, retain, copy, print,
distribute or use this message. If you have received this communication in error, please notify
the sender and delete all copies of this message. Persistent Systems Ltd. does not accept
any liability for virus infected mails.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message