I'm very close to running my first Cactus test using Tomcat 4.0. But I'm
getting the following error message when the test runs:
C:\cactus_sample\build\build.xml:419: Could not create task of type: junit.
Common solutions are to use taskdef to declare your task, or, if this is an
optional task, to put the optional.jar in the lib directory of your ant
installation (ANT_HOME).
1) cactus_sample is just a copy of files from my
c:\commons-cactus-23-20010502\sample.
2) I did copy junit.jar into %ANT_HOME%\lib. (I assume this is what is
meant by the optional.jar here)
3) I have found the syntax for the taskdef statement in ant, but I don't see
how to use it here, if that's what I must do.
Any help is appreciated...
-- Ted Velkoff
-- Senior Software Engineer
-- Engenia Software, Inc.