I have a book that says to do the following.
$ANT_HOME doesn't mean $ANT_HOME, literally. $ANT_HOME means "the value of ANT_HOME".
If Ant is installed at c:\ant, your environment variables should be:
c:\ant
ANT_HOME=c:\ant
PATH = ...;c:\ant\bin;...
Same for JAVA_HOME.