ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine L?vy-Lambert" <>
Subject AW: taskdef class cannot be found
Date Sat, 08 Nov 2003 17:11:46 GMT
Hi Michael,

this sounds like a classpath issue.

Have a look at the definition of the taskdef task in the ant manual ( )

You will see that the taskdef task can have a nested element <classpath/> .
this one should contain the path(s) to the jar(s) containing for instance in
this case org.apache.catalina.ant.DeployTask

Alternatively, you can set your CLASSPATH environment variable to include
all the jars which you are going to use and which are not part of the ant

You can also copy to $ANT_HOME/lib these external jars, but then you will
soon have a jar supermarket in this directory.



-----Urspr?ngliche Nachricht-----
Von: michael ramati []
Gesendet: Freitag, 7. November 2003 22:08
Betreff: taskdef class cannot be found

i get the following message after typing 'ant':

file:C:/jwstutorial13/examples/jaxrpc/common/targets.xml:30: taskdef class
org.apache.catalina.ant.DeployTask cannot be found

i get similar messages for different projects in The Java Web Services
thanks in advance.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message