Notifications
Clear all

ANT_HOME is Set Incorrectly or Ant Could Not Be...

   RSS

0
Topic starter

A developer is bootstrapping a project. The bootstrap gave a build successful message unexpectedly quickly, leading the developer to think that it actually failed.

The console shows the error message "ANT_HOME is set incorrectly or ant could not be..."

image
image

What should the developer do to resolve this issue and re-bootstrap the instance?

Topic Tags
1 Answer
1
Topic starter

Somehow this developer's "ant" folder got moved to the wrong place. He moved it back to the "third-party" folder and this error went away.

For a particular project the developers were manually installing a certain version of Apache Ant in the third-party folder. However, 2 developers accidentally unzipped the files into C:\Program Files (x86)\ONE SDK\ib3\third-party\ant\apache-ant-1.10.9\apache-ant-1.10.9, when it should have been C:\Program Files (x86)\ONE SDK\ib3\third-party\ant\apache-ant-1.10.9

© 2020 One Network Enterprises. All rights reserved. Privacy Policy