Hello!

I want to use the junit task. Therefore I downloaded the optional.jar
archive
and put it into %ANT_HOME%\lib.

Nevertheless I get the error:
Could not create task of type: junit because I can't find it in the list
of task class definitions.  

When I start ant with the -debug flag, the output does not list the
junit UserTask.
Other tasks from the optional package like ejbc and javacc are listed.
The optional.jar archive is listed in java.class.path.

I tried it both on win2k (jdk 1.3 and 1.2.2) and Linux (jdk1.3) with the
same effect.

Can anybody give me a hint?

Greetings,
Uli

Reply via email to