title: ANT_HOME is set incorrectly or ant could not be located
body: <p>I'm trying to build a project in Ant, using BuildFile (build.xml).
  Although ANT_HOME environment variable clearly exists and is set to the path where "ant.bat" is located, it always displays this error message.
  How to configure Ant properly to compile builds in Windows?</p>
  
  <p>Thanks</p>