I have ALL of the ant jar files, including junit.jar and optional.jar, in the
<ant dir>/lib and these files are mounted for my current project.
Unfortunately, I get the error shown below. I've also attempted to copy
junit.jar and optional.jar to the <net beans dir>/modules/patches directory and
still no luck.
Please help. Stack trace of error shown below.
<my path here>\build.xml:1041: Could not create task of type: junit because I
can't find it in the list of task class definitions. Common solutions are: 1
execute bin/bootstrap. 2 use taskdef to declare your task. 3 add the task to
I think for NetBeans 3.1 you have to put both junit.jar and optional.jar in
modules/patches/ and restart. But I am not sure if it actually works. Definitely
it works in NetBeans 3.2. In any case, please ask on nbusers for help instead as
it may be possible even in 3.1.
Resolved for 3.3.x or earlier, no new info since then -> closing.