ant task definition

Laurent Morvillier <[email protected]>
Newsgroups gmane.comp.jakarta.cactus.user
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.