--- Stefan Bodewig <[EMAIL PROTECTED]> wrote:

<snip>
 
> Everything you have in your CLASSPATH or in ANT_HOME/lib will end up
> in your system classloader when you run Ant.  If your task
> implementation can be loaded via this classloader, it *will* be
> loaded
> via this classloader, no matter what.  If this task now needs a class
> from a library that is not in your classpath, it won't find it (as
> the
> classloader used to load your task doesn't know about these
> libraries).

This is true, but when you declare your taskdef you can embed a
classpath element within your taskdef to put these libraries into your
classpath. Works like a charm because now Ant's classloader, the one
being used to load the custom task, knows how to find the supporting
tasks.


=====
Don Taylor, Developer
ACTS, Inc.
www.actsi.com

__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to