On Wed, 16 Oct 2002, Mark Arnold <[EMAIL PROTECTED]> wrote:

> 1. Why do I have to copy the jars into %ANT_HOME%/lib if I already
> specify them in the classpath tag for the taskdef?

I think you've simply run into this.
<http://jakarta.apache.org/ant/faq.html#delegating-classloader>

Having none of the three jars in ANT_HOME/lib would probably work as
well, just don't mix them.

> 2. Why does ant tell me it can not find myOwnSpecialTask in
> mySpecial.jar if the problem is really the junit.jar and some of the
> classes in there which I inherit myOwnSpecialTask from?

Run ant -debug to see which classes Ant is looking for using which
class loader.

Loading your class must have triggered loading another class and it it
the nature of the classloader that it will report on the class it was
trying to load first.

Stefan

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

Reply via email to