jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xller...@cps.pf
Subject Problem with org.apache.cactus.integration.ant.CactusTask
Date Wed, 11 Feb 2004 03:00:56 GMT
Hi,

I am having some problem with Cactus and Ant. When I try to use the task
<cactus> I have an arror. With the <cactifywar> I don't have any problem...

This is my build-cactus.xml:
....
<path id="cactus.lib.path">
      <pathelement location="${cactus.lib.dir}/cactus-1.5.jar"/>
      <pathelement location="${cactus.lib.dir}/cactus-ant-1.5.jar"/>
      <pathelement location="${cactus.lib.dir}/j2ee-1.3.jar"/>
      <pathelement location="${cactus.lib.dir}/servletapi-2.3.jar"/>
      <pathelement location="${cactus.lib.dir}/aspectjrt-1.1.1.jar"/>
      <pathelement location="${cactus.lib.dir}/commons-logging-1.0.3.jar"/>
      <pathelement location="
${cactus.lib.dir}/commons-httpclient-2.0-rc2.jar"/>
      <pathelement location="${cactus.lib.dir}/junit-3.8.1.jar"/>
      <pathelement location="${cactus.lib.dir}/httpunit-1.5.3.jar"/>
      <pathelement location="${cactus.lib.dir}/nekohtml-0.7.4.jar"/>
</path>
....
<taskdef name="cactifywar" classname=
"org.apache.cactus.integration.ant.CactifyWarTask" classpathref=
"cactus.lib.path"/>
<taskdef name="runservertests" classname=
"org.apache.cactus.integration.ant.RunServerTestsTask" classpathref=
"cactus.lib.path"/>
<taskdef name="webxmlmerge" classname=
"org.apache.cactus.integration.ant.WebXmlMergeTask" classpathref=
"cactus.lib.path"/>
<taskdef name="cactus" classname=
"org.apache.cactus.integration.ant.CactusTask" classpathref=
"cactus.lib.path"/>


And I have this:
 [taskdef] BUILD FAILED:
file:D:/PROJETS/Aorai/dev/build/build-cactus.xml:464: taskdef class
org.apache.cactus.integration.ant.CactusTask cannot be found


- If I try to use the cactus.tasks, I have the same problem: cannot found
the CactusTask.

- I'm working with Eclipse 2.1.2 (under windows), jdk 1.3.1 and Ant
1.5.3-1.

Any ideas?

Thank you.




Mime
View raw message