sounds more like he installed a 1.6 version while being under the mistaken impression it was a 1.7 version.
IF there's indeed no 1.6 version on the path his script is using, as he's asserting.
Main Topics
Browse All TopicsI have extracted ant 1.7.1 into C:\ant folder.
I have set the ANT_HOME as c:\ant and in path have mentioned c:\ant\bin.
Now from the prompt when I do
ant -version
it shows me "Apache Ant version 1.6.2 compiled on July 16 2004"
I can't make out from where it is getting this version. Path env. variable does not refer to any other ant.
In case I remove the ant directory and then execute
"ant -version" command, it says that "ant" is not a recognized command. So although it is looking into the ant folder but somehow getting the ant version from some other jar file.
Please let me know how to resolve this problem.
thank you
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
C:\Documents and Settings>echo %PATH%
c:\ant\bin;C:\Progra
WINDOWS\
Server\90\Tools\binn\;C:\P
\Program Files\QuickTime\QTSystem\;
C:\Documents and Settings>echo %ANT_HOME%
c:\ant
Business Accounts
Answer for Membership
by: a_bPosted on 2009-07-09 at 21:57:40ID: 24820404
Did you have 1.6 installed previously? Are you sure you have removed that?