You could shade your ant task using a shading tool, eg maven-shade-plugin then it would be in a different package and depend on classes in a different package also (there may be non-maven shading tools for the maven averse ;-) )
On 1 Nov 2010 17:07, "Peter Reilly" <peter.kitt.rei...@gmail.com> wrote: That will not work. The jars in $ant.home/lib or ~/.ant/lib will be in front in the classloader. Peter On Mon, Nov 1, 2010 at 4:23 PM, David Weintraub <qazw...@gmail.com> wrote: > When you use a <taskd...