ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Teasel <nab...@teasel.org>
Subject Re: help! taskdef class.org.apache.catalina.ant.DeployTask cannot be found
Date Sun, 04 Feb 2007 23:28:59 GMT


Anil Philip wrote:
> 
> I am trying to run the Quartz webapp from Sun Java
> Studio 8.1 using Tomcat. I am using the ant scripts
> that come with Quartz webapp.
> When I try to Run (in Sun Studio 8.1), I get
> "taskdef class.org.apache.catalina.ant.DeployTask
> cannot be found"
> 
> the build.xml for webapp is here:
> https://quartz.dev.java.net/source/browse/quartz/webapp/build.xml
> Any help appreciated.
> thanks,
> Anil

I'm getting the same error trying to compile my first servlet under
Fedora5/Tomcat5.5.15/Ant1.6.5

$ ant
Buildfile: build.xml
BUILD FAILED
/var/lib/tomcat5/webapps/test1/WEB-INF/build.xml:147: taskdef class
org.apache.catalina.ant.DeployTask cannot be found
Total time: 0 seconds

I have copied catalina-ant.jar into /usr/share/ant/lib, as instructed
I have tried jar tvf /usr/share/ant/lib/catalina-ant.jar, and the classes
are definitely there
I have tried ant -lib /usr/share/ant/lib
I have tried exporting ANT_HOME myself, rather than relying on /etc/ant.conf
I have tried banging my fist on the desk

...but nothing seems to work.  If anyone has any suggestions, or pointers to
documentation that doesn't just say "copy in the catalina-ant.jar file and
all will be well, they'd be much appreciated!

Cheers,
Ian

-- 
View this message in context: http://www.nabble.com/help%21-taskdef-class.org.apache.catalina.ant.DeployTask-cannot-be-found-tf2932346.html#a8798930
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message