Title: Message
I can't seem to get the xwork ant test target to run :(
 
I have placed
 
    junit-3.8.1.jar in ANT_HOME\lib
    clover-1.2.jar in ANT_HOME\lib
 
then I run ant test to receive this :
 
D:\workspace\os.xwork>ant test
Buildfile: build.xml
 
format:
   [jalopy] Jalopy Java Source Code Formatter 1.0b10
   [jalopy] Format 131 source files
   [jalopy] 129 source files formatted
 
java:
 
test:
    [junit] Running com.opensymphony.xwork.ActionContextTest
    [junit] java.lang.NoClassDefFoundError: org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner
    [junit] Exception in thread "main"
 
BUILD FAILED
file:D:/workspace/os.xwork/build.xml:77: Test com.opensymphony.xwork.ActionContextTest failed
 
Total time: 6 seconds
D:\workspace\os.xwork>
 
 
I have also tried adding junit and ant optional top my classpath.
 
I have run out of ideas.. Can anyone help ?
 
Taa
 
Cameron

Reply via email to