Barry Kimelman wrote:
So I changed my current directory to the
toplevel of my project and issued the command "ant compile". I received
the following error message :
BUILD FAILED
C:\barry\myproject\build.xml:146: taskdef class
org.apache.cataline.ant.DeployTask cannot be found
Line 146 of my build.xml file is as follows :
<taskdef name="deploy" classname="org.apache.catalina.ant.DeployTask"/>
I searched the JAR files under my Tomcat installation and found that the
JAR file located at C:\Tomcat5.5\server\lib\catalina-ant.jar conatins the
> "missing" class.
According to the Tomcat documentation that I read, JAR files placed
under $CATALINA_HOME/common/lib are available both to web applications
> and internal Tomcat code.
But you're neither of those :-) so it's *your* CLASSPATH that needs
to include "C:\Tomcat5.5\server\lib\catalina-ant.jar" when you run
ant from the command line.
--
Hassan Schroeder ----------------------------- [EMAIL PROTECTED]
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
dream. code.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]