You should include the cargo-0.5.jar in your classpath as well. The jar-file can be found in the lib-directory of the cactus distribution.
/grimsell > -----Original Message----- > From: Laurent Morvillier [mailto:[EMAIL PROTECTED] > Sent: Monday, January 09, 2006 3:21 PM > To: cactus-user@jakarta.apache.org > Subject: ant task definition > > > Hello, > > > > I'm currently integrating cactus to my build process after a few hand > made successful tests. > > But success stops right here when I define the cactus ant tasks: > > > > <taskdef resource="cactus.tasks"> > > <classpath> > > <pathelement > location="${app.lib.dir}/junit-3.8.1.jar"/> > > <pathelement > location="${app.lib.dir}/cactus-1.7.1.jar"/> > > <pathelement > location="${app.lib.dir}/cactus-ant-1.7.1.jar"/> > > <pathelement > location="${app.lib.dir}/commons-httpclient-2.0.2.jar"/> > > <pathelement > location="${app.lib.dir}/commons-logging-1.0.4.jar"/> > > <pathelement > location="${app.lib.dir}/aspectjrt-1.2.1.jar"/> > > </classpath> > > </taskdef> > > > > > > Here is what I get when I launch ant: > > > > taskdef A class needed by class > org.apache.cactus.integration.ant.CactifyWarTask cannot be found : > org/codehaus/cargo/module/webapp/WebArchive > > > > > > I can tell that my lib directory is well defined and that ant works > (version 1.6.5). This error sounds like some strange library > is missing. > > What do you think? > > > > Thanks a lot! > > > > Laurent Morvillier > > > > To find out more about Reuters visit www.about.reuters.com > > Any views expressed in this message are those of the > individual sender, except where the sender specifically > states them to be the views of Reuters Ltd. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]