Tuesday
Aug222006
Apache Cactus on OS X
Tuesday, August 22, 2006 at 09:43PM Apache Cactus is a test framework for Java server-side code.
If you try to use the ant cactus task on a stock OS X, you’ll run into the dreaded
“taskdef A class needed by class org.apache.cactus.integration.ant.CactusTask cannot be found: junit/framework/Test”
even though you have the junit jar in your classpath.
Solution:
find out which ant you use: $ ls -al `which ant`
copy junit-x.y.z.jar into that ../lib location, for example, /Developer/Java/Ant/lib
Hans |
Post a Comment | 


Reader Comments