Yes, I've actually make a copy of the code posted and I still got the
error. I've changed the directory to my directory where I have my
junit.jar.
Will
Nico Seessle wrote:
>
> ----- Original Message -----
> From: "William Lee" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, March 02, 2001 11:25 PM
> Subject: Re: Setting classpath for optional task
>
> > I've try this but I still get a junit/framework/TestListener class not
> > found error. Note that my junit.jar is not in the same ant's lib
> > directory. I'm using JUnit 3.5 and Ant 1.3b3. Here is the stack trace:
> >
>
> OK, let's clarify what you mean with "I've tried this". Have you copied my
> sample exactly as it was written?
>
> If yes, you should really change the "<fileset dir="...">-part of my example
> to point to the directory your junit.jar is in. If no I will try it myself.
>
> Nico