Notifications
Clear all

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

2 Posts
1 Users
1 Likes
2,315 Views
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?

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.

Matt Nutsch Topic starter 2021-06-07 16:33:18

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