We ran into this problem in one of our projects. The solution we found is to
override the loadClass method so that it looks into the classloader classes
before it looks into the parent classes. This way if there are classes that
are conflicting our classes will always be loaded first.
Sam
-Or
An if and else attributes for each task would be something very helpful, I
found many many occasions where I have to create a target just for one task
that needs to be executed conditionally.
I was thinking somewhere along the lines of putting this attribute in the
base Ant Task and so every task