Apache Ant error on Yosemite

It’s apparently too long so I deleted the last a few lines, which don’t look very related…