ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: Fail to use JUnit in Ant.
Date Tue, 08 Jul 2003 11:13:58 GMT
> When I use Junit in Ant, it displayed the following errors, 
> how can solve it?

Exactly like written.

> Ant could not find the task or a class this task relies upon.
> 
> This is common and has a number of causes; the usual
> solutions are to read the manual pages then download and
> install needed JAR files, or fix the build file:

>  - The task needs an external JAR file to execute
>    and this is not found at the right place in the classpath.
>    Fix: check the documentation for dependencies.
>    Fix: declare the task.

<junit> needs the junit.jar

> Remember that for JAR files to be visible to Ant tasks implemented
> in ANT_HOME/lib, the files must be in the same directory or on the
> classpath
> 
> Please neither file bug reports on this problem, nor email the
> Ant mailing lists, until all of these causes have been explored,
> as this is not an Ant bug.



Jan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message