Pierre Goupil wrote:

                    Hello all !

I'm currently trying to use Tomcat Ant tasks from within Eclipse 3.2. (deploy, reload, start, stop, etc...). I join my build.xml for further insight.

I've added "ant.jar", "catalina-ant.jar" & "tools.jar" to Window / Preferences / Ant / runtime / global entries, but no way. I'm still getting the following error :

***
BUILD FAILED
D:\workspace\springapp\build.xml:84: taskdef A class needed by class org.apache.catalina.ant.DeployTask cannot be found: org/apache/tools/ant/Task
***

The class org.apache.tools.ant.Task is part of the " ant.jar" package, so I've added it to my project buildpath, but still no way.

the tomcate tasks must need some other JAR which is not on your classpath.

Before you put in lots of effort to find it, have you considered just using the <copy> command? Tomcat now supports deploy-by-copy, so copying something into the target dir is all you need.

-steve

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to