That seemed to fix it.. Why would it need to be there, when it is in the
lib/build folder ?


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Hani Suleiman
> Sent: Wednesday, 23 July 2003 12:46 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] WebWork2 / Xwork - ant test
> 
> 
> is junit.jar in anthome/lib?
> 
> On Tuesday, July 22, 2003, at 10:41 PM, Cameron Braid wrote:
> 
> > I think I am having one of those "damn I am so stuipd days".
> >  
> > I can't seem to get the ant test target to run for webwork or xwork.
> >  
> > It is so strange, because the junit jar is there ...
> >  
> > Running :
> >  
> > ant test -debug gives me this exception :
> >  
> > test:
> >   [taskdef] Loading definitions from resource clovertasks Couldn't 
> > load ResourceStream for clovertasks
> >   [taskdef] Could not load definitions from resource clovertasks. It
> > could not be found.
> > fileset: Setup scanner in dir C:\workspace\titan.xwork\lib with  
> > patternSet{ includes: [**/*.jar] excludes: [] }
> > Class 
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask loaded  
> > from parent loader
> >  
> > BUILD FAILED
> > file:C:/workspace/titan.xwork/build.xml:54: taskdef class
> > org.apache.tools.ant.taskdefs.optional.junit.JUnitTask 
> cannot be found
> >         at  
> > 
> org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:240)
> >         at  
> > org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:162)
> >         at org.apache.tools.ant.Task.perform(Task.java:319)
> >         at org.apache.tools.ant.Target.execute(Target.java:309)
> >         at org.apache.tools.ant.Target.performTasks(Target.java:336)
> >         at  
> > org.apache.tools.ant.Project.executeTarget(Project.java:1306)
> >         at  
> > org.apache.tools.ant.Project.executeTargets(Project.java:1250)
> >         at org.apache.tools.ant.Main.runBuild(Main.java:610)
> >         at org.apache.tools.ant.Main.start(Main.java:196)
> >         at org.apache.tools.ant.Main.main(Main.java:235)
> > Caused by: java.lang.NoClassDefFoundError: 
> junit/framework/TestListener
> >         at java.lang.ClassLoader.defineClass0(Native Method)
> >         at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
> >         at  
> > 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.
> java:123)
> >         at 
> java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
> >         at 
> java.net.URLClassLoader.access$100(URLClassLoader.java:54)
> >         at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
> >         at 
> java.security.AccessController.doPrivileged(Native Method)
> >         at 
> java.net.URLClassLoader.findClass(URLClassLoader.java:186)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
> >         at  
> > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
> > ...
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a 
> single machine. WITHOUT REBOOTING! Mix Linux / Windows / 
> Novell virtual machines at the same time. Free trial click 
> here: http://www.vmware.com/wl/offer/345/0
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to