Changes to make compile with ANT work outside of IntelliJ