I apparently have screwed myself and I don't know what to do. I had a working ant environment (CentOS) when I attempted to install Java version 7. I removed version 6 using 'yum' and much to my surprise it also removed ant. After installing version 7 from an RPM, ant was not installed. I then tried to install ant with yum and it reinstalled Java version 6. At that point I decided to forget version 7 until it is available via yum. However, I can no longer do my builds as I get this error:
Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
I have no idea why this happens as the directory pointed to by the build file:
I know this doesn't solve the immediate issue, but things like this are why I always install Java components manually from their download sites and never use the Linux package manager to install anything Java.