> -----Original Message-----
> From: ippi [mailto:[EMAIL PROTECTED]
> 
> Oops - spoke too soon! [red-faced grin]
> 
> Without going into the embarressing details, my
> previous assertion that setting
> includeantruntime="no" made everything work
> perfectly is not at all correct. Rather, ant
> just prints out the following exception for
> each TestCase loaded:
> 
>     [junit] Exception in thread "main"
> java.lang.NoClassDefFoundError:
> org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner
> 
> This doesn't change it I put junit.jar in the
> $CLASSPATH or in $ANT_HOME/lib.

You need at least junit.jar *and* ant-junit.jar in order
for your unit tests to run. Since you've stripped anything
Ant related with includeantruntime="no", you need to
explicitly add ant-junit.jar (in addition to junit.jar). --DD

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

Reply via email to