the Ant FAQ explains why this problem concerning the
junit task occurs (for anyone who is interested):

http://jakarta.apache.org/ant/faq.html#delegating-classloader



--- Martin Cooper <[EMAIL PROTECTED]> wrote:
> 
> 
> On Tue, 17 Dec 2002, Erik Hatcher wrote:
> 
> > Do you have junit.jar in ANT_HOME/lib?  It must be
> there for <junit> to
> > work (or in your system classpath).
> 
> Thanks, Erik, that was it. Odd, though - I don't
> recall having to copy
> junit.jar to ANT_HOME/lib before, and I know I had a
> clean classpath.
> Getting old, memory fading... ;-)
> 
> --
> Martin Cooper
> 
> 
> >
> > Are you using a release build of Ant?  1.5.1?  If
> you built your own
> > version of Ant, that could be an issue also as you
> have to have
> > junit.jar available for the build to have it
> incorporated properly.
> >
> >     Erik
> >
> > Martin Cooper wrote:
> > > I recently had to rebuild my machine, and it
> seems I missed something
> > > that's required for the Struts test.junit tests,
> but I can't figure out
> > > what it is.
> > >
> > > When I invoke 'run test.junit', I get the
> following error:
> > >
> > >
>
file:C:/src/jakarta/jakarta-struts/build-tests.xml:604:
> Could not create
> > > task or type of type: junit. Ant could not find
> the task or a class this
> > > task relies upon.
> > >
> > > I have JUnit, and all the appropriate properties
> and classpaths set. I
> > > also have all the 'optional' pieces required.
> > >
> > > Anyone have any idea what I forgot?
> > >
> > > Thanks!
> > >
> > > --
> > > Martin Cooper
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > >
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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

Reply via email to