D
Duke Hamacher
Hello:
I am attempting to use the <cactifywar> and <cactus > tasks in an Ant
build file. I have set up <taskdef> element to point to all the
necessary jar files, including cactus-ant-1.6.1.jar as below:
<taskdef resource="cactus.tasks">
<path>
<pathelement location="${lib}/cactus-ant-1.6.1.jar"/>
and so on and so on.
</path>
</taskdef>
The CactusTask class is inside cactus-ant-1.6.1.jar but upon execution
I received the following error:
"cannot find org.apache.cactus.integration.ant.CactusTask"
Well, Ant must have found "cactus.tasks" inside cactus-ant-1.6.1.jar
or else it wouldn't have known the classname in the error message!
Now . . . junit.jar is also on my classpath. Is there a difference
between the junit.jar that comes with Cactus and the jar named
ant-junit.jar that comes with Ant? I put both in my classpath but to
no avail.
Help!
Eric Hamacher
(e-mail address removed)
Madison, Wisconsin
I am attempting to use the <cactifywar> and <cactus > tasks in an Ant
build file. I have set up <taskdef> element to point to all the
necessary jar files, including cactus-ant-1.6.1.jar as below:
<taskdef resource="cactus.tasks">
<path>
<pathelement location="${lib}/cactus-ant-1.6.1.jar"/>
and so on and so on.
</path>
</taskdef>
The CactusTask class is inside cactus-ant-1.6.1.jar but upon execution
I received the following error:
"cannot find org.apache.cactus.integration.ant.CactusTask"
Well, Ant must have found "cactus.tasks" inside cactus-ant-1.6.1.jar
or else it wouldn't have known the classname in the error message!
Now . . . junit.jar is also on my classpath. Is there a difference
between the junit.jar that comes with Cactus and the jar named
ant-junit.jar that comes with Ant? I put both in my classpath but to
no avail.
Help!
Eric Hamacher
(e-mail address removed)
Madison, Wisconsin