I have a weird bug that is popping up in my Ant build. The build works as such: build.xml calls a new buildTargets.xml file, and in that file most of the work is being done.
I ended up using the retry task, and that seemed to work based off of Isaac's description of what was possibly going wrong.