ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.kitt.rei...@gmail.com>
Subject Re: Getting task class *only* from specified path
Date Mon, 01 Nov 2010 23:51:39 GMT
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.reilly@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.connolly@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.reilly@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 <qazwart@gmail.com> wrote:
>>> When you use a <taskd...
>>
>

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


Mime
View raw message