You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Daniel Lehmann <dk...@hotmail.com> on 2003/10/01 13:41:47 UTC
CactusTask - Ant cannot find class
Hi,
I searched far and wide for a solution to the problem below, but have been
unable to find one.
There are some people with similar problems, but none of the proposed
solutions seem to work for me.
It seems Ant cannot find the CactusTask class using the following
definition:
<taskdef name="cactus"
classname="org.apache.cactus.integration.ant.CactusTask"
classpathref="cactus.path">
cactus.path includes all jars in the 'jakarta-cactus-13-1.5-beta\lib'
directory. The same definition works for RunServerTestTask and
WebXMLMergeTask, just not CactusTask.
I tried to use RunServerTestTask instead, but there I'm having the same
problem with the JunitTask class in ant's optional.jar.
I'm grateful for any input...
Thanks a lot,
Daniel
_________________________________________________________________
Instant message during games with MSN Messenger 6.0. Download it now FREE!
http://msnmessenger-download.com
RE: CactusTask - Ant cannot find class
Posted by veny <ve...@p2h.com.sg>.
Hi Daniel,
try running ant with -verbose tag. It could be a problem of junit not
cactus. i guessed most probably ant could not find junit and thus cactus
fails as well.
Cheers,
Veny
-----Original Message-----
From: Daniel Lehmann [mailto:dklehmann@hotmail.com]
Sent: Wednesday, October 01, 2003 7:42 PM
To: cactus-user@jakarta.apache.org
Subject: CactusTask - Ant cannot find class
Hi,
I searched far and wide for a solution to the problem below, but have been
unable to find one.
There are some people with similar problems, but none of the proposed
solutions seem to work for me.
It seems Ant cannot find the CactusTask class using the following
definition:
<taskdef name="cactus"
classname="org.apache.cactus.integration.ant.CactusTask"
classpathref="cactus.path">
cactus.path includes all jars in the 'jakarta-cactus-13-1.5-beta\lib'
directory. The same definition works for RunServerTestTask and
WebXMLMergeTask, just not CactusTask.
I tried to use RunServerTestTask instead, but there I'm having the same
problem with the JunitTask class in ant's optional.jar.
I'm grateful for any input...
Thanks a lot,
Daniel
_________________________________________________________________
Instant message during games with MSN Messenger 6.0. Download it now FREE!
http://msnmessenger-download.com
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org