Make sure you don't have an old version of Junit cluttering up your classpath anywhere (especially in ant_home/lib), even sitting next to the new one...
> -----Original Message----- > From: Cameron Braid [mailto:[EMAIL PROTECTED] > Sent: Monday, September 01, 2003 12:13 AM > To: [EMAIL PROTECTED] > Subject: RE: [OS-webwork] Testing Xwork > > > Don't you keep a copy of emails in your folders ? ;) > > > > -----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. > > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jason Carreira > Sent: Monday, 1 September 2003 2:04 PM > To: [EMAIL PROTECTED] > Subject: RE: [OS-webwork] Testing Xwork > > > What's the error? > > > -----Original Message----- > > From: Cameron Braid [mailto:[EMAIL PROTECTED] > > Sent: Sunday, August 31, 2003 11:56 PM > > To: [EMAIL PROTECTED] > > Subject: RE: [OS-webwork] Testing Xwork > > > > > > My previous post : > > > > > 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 > > > > > ... > > > > > > > > > I have also tried adding junit and ant optional top my > > classpath. > > > > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] > On Behalf Of > > Tracy Snell > > Sent: Monday, 1 September 2003 1:11 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [OS-webwork] Testing Xwork > > > > > > On 8/31/03 10:19 PM, "Cameron Braid" <[EMAIL PROTECTED]> wrote: > > > > > 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. > > > > What's the error you're getting? Also, try putting a copy of the > > junit.jar file in ${ANT_HOME}/lib. > > > > > > > > > > ------------------------------------------------------- > > 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 > > > > > > ------------------------------------------------------- > 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