--- "Tandon, Pankaj" <[EMAIL PROTECTED]> wrote:
> I am trying to use the junit task and am having no luck :(
> I first got a NoClassDefFoundError on JUnitTestRunnerClass and then a
> NoClassDefFoundError  for the BuildException  class.
>
> I have tried the following:
> 1. Read the FAQ [...] and explained (or so I thought) the reasom I was
> getting the initial NoClassDefFoundError I was getting. This was when
> I had placed junit.jar AND jakarta-ant-1.3-optional.jar in my
> ANT_HOME/lib.

Having them both in ANT_HOME/lib is one of the options that should work.
The only requirement is that the classfiles for the <junit> task and the
junit.jar file be in the same classpath (which they will be if both
junit.jar and the optional-tasks jar file are in ANT_HOME/lib, since Ant
pulls in all the files from ANT_HOME/lib into the classpath it runs with).

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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

Reply via email to