Ant problems and solutions
New version doesn't work?
When upgrading to a new version of ant the ant script
will probably need editing. The default action (at least on flavors of unix) is to execute the configuration script at /etc/ant.conf.
This script will reset your ANT_HOME to the installed version.
Find the lines
# load system-wide ant configuration if [ -f "/etc/ant.conf" ] ; then . /etc/ant.conf fi
and comment them out.