ANT_HOME is set incorrectly or ant could not be located

Viewed 79779

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?

Thanks

9 Answers

If you are using Bamboo, make sure that the ant path in Bamboo setting is the same as your ANT_HOME.

Related