Title: Message
I fixed a JDK 1.4 dependency (Everyone please be careful to make sure it runs in JDK 1.3, which means none of the nice nested exception constructors), and now it builds and tests for me. Let me know if it's working for you.
-----Original Message-----
From: Cameron Braid [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 4:33 AM
To: [EMAIL PROTECTED]
Subject: [OS-webwork] Testing Xwork

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