You may be able to use <classloader> from

http://enitsys.sourceforge.net/ant-classloadertask/

but with the same class in two places in the classpath,
you will have problems.

Peter




On Mon, Nov 1, 2010 at 11:46 PM, Peter Reilly
<peter.kitt.rei...@gmail.com> wrote:
> It would be good to understand one word in three of that ;-)
> Peter
>
>
> On Mon, Nov 1, 2010 at 9:18 PM, Stephen Connolly
> <stephen.alan.conno...@gmail.com> wrote:
>> 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...
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to