Java Mailing List Archive

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

Home » Ant Users List »

AW: Ant 1.6 installation

Jan Materne

2008-09-05


Author LoginPost Reply
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@(protected)]
Gesendet: Freitag, 5. September 2008 11:48
An: 'Ant Users List'; jon_camilleri@(protected)
Betreff: RE: Ant 1.6 installation

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



Try issuing the command,



[sinfo@(protected)



instead of,



[sinfo@(protected)





Hope this helps!



Thanks,



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

vivek_payala@(protected)

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





-----Original Message-----
From: Jon [mailto:camilleri.jon@(protected)]
Sent: Friday, September 05, 2008 3:12 PM
To: user@(protected)
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@(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.


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@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.