The Apache Ant User Manual <http://ant.apache.org/manual/index.html> says:
The CLASSPATH environment variable is a source of many Ant support queries. As the round trip time for diagnosis on the Ant user mailing list can be slow, and because filing bug reports complaining about 'ant.bat' not working will be rejected by the developers as WORKSFORME "this is a configuration problem, not a bug", you can save yourself a lot of time and frustration by following some simple steps.
Do not ever set CLASSPATH. Ant does not need it, it only causes confusion and breaks things.
However, the script myDevEnvTemplate does set CLASSPATH. I am trying to check whether it is possible to unset it for Ant.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.