I 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
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.