I just ran the Xwork tests with no problems. I had to add the clover jar
to my <ant>/lib directory. (Junit jar was already there). What is your
error?

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Cameron Braid
> Sent: Sunday, August 31, 2003 10:19 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [OS-webwork] Testing Xwork
> 
> 
> Can you guys please help me with setting up the test process.
> 
> I normally run tests within Eclipse, though I seem to be 
> having classpath problems.
> 
> Therefore, I am trying to get the ant test target to work - 
> without any success.
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Patrick Lightbody
> Sent: Thursday, 28 August 2003 1:07 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [OS-webwork] Testing Xwork
> 
> 
> Yeah, that was probably me (throwing a nested 
> RuntimeException). I knew it 
> was 1.4, but at the time I couldn't think of a way to easily 
> throw the 
> exception out to the user without declaring it in 
> vs.findValue() and all the 
> others. What'd you end up doing?
> 
> 
> >From: "Jason Carreira" <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: <[EMAIL PROTECTED]>
> >Subject: RE: [OS-webwork] Testing Xwork
> >Date: Wed, 27 Aug 2003 06:50:41 -0700
> >
> >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
> >
> 
> _________________________________________________________________
> MSN 8: Get 6 months for $9.95/month 
> http://join.msn.com/?page=dept/dialup
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to