Re: Unable to use Ant 1.6
Posted By:
Ronald_Ingraham
Posted On:
Tuesday, August 3, 2004 05:13 AM
I think the answer to your problem lies in the ant.jar files you have in your path. I'm going to assume that you probably have Tomcat installed and the version of Ant that comes with Tomcat is 1.6.0. If you simply copy your $ANT_HOME/lib/ant.jar to your $CATALINA_HOME/common/lib directory, this should solve your problem. Don't forget to save off the current ant.jar file in the $CATALINA_HOME/common/lib directory, just in case you need it again later.
Hope this helps.
Re: Unable to use Ant 1.6
Posted By:
A_Khairul
Posted On:
Tuesday, June 15, 2004 08:41 AM
From what I understand Ant loads all Task classes before it reads the build.xml file. This is why an error still occurs when using ant -version.
I'm trying to fix the same problem you've got. I'm trying to get Ant 1.6.1 to work.
Re: Unable to use Ant 1.6
Posted By:
Sean_Owen
Posted On:
Monday, May 17, 2004 08:22 AM
You can fix this by downloading and using Ant 1.6.1, which is probably a good idea anyway. Alternatively, if you are not using the optional tasks, then simply remove optional.jar from Ant's lib directory.