I'm trying to work on an old Java 6 project but IntelliJ says that I'm using a bundled Ant (1.10.5) which isn't compatible with Java 6 so I can't compile the project using Ant. Is there a way to find where the bundled ant jar file is located within the project?
You should not change the bundled Ant version, instead you can supply your own Ant installation path in IntelliJ IDEA build file properties dialog.
Bundled Ant can be found in IDE_HOME/lib/ant
directory (/Applications/IntelliJ IDEA.app/Contents/lib/ant
on macOS).