Ant build suddenly failing
Answered
For some reason after a short vacation I came back to my intellij project and I cannot get my build to complete due to the following error.
/Users/me/workspaces/java/myprj/resources/build.xml:63: Execute failed: java.io.IOException: Cannot run program "/Applications/IntelliJ IDEA.app/Contents/lib/ant/bin/antRun": error=2, No such file or directory
I have not done anything that I can think of that would have changed this. Any thoughts on what could be causing this sudden failure?
Please sign in to leave a comment.
Try specifying a different Ant version to be used for your build instead of the bundled Ant:
Your script may need the full Ant installation with the binaries, not just libraries as bundled with IntelliJ IDEA and invoked via API.
That was it! Thank you!