--- [EMAIL PROTECTED] wrote:
> From the exception you quote it is obvious the deploy task is not
> executing a zip/unzip/jar/unjar command properly. Where are these tasks
> defined?

They're defined in the same build file:

<taskdef name="deploy"    classname="org.apache.catalina.ant.DeployTask"/>
<taskdef name="install"   classname="org.apache.catalina.ant.InstallTask"/>
<taskdef name="list"      classname="org.apache.catalina.ant.ListTask"/>
<taskdef name="reload"    classname="org.apache.catalina.ant.ReloadTask"/>
<taskdef name="resources" classname="org.apache.catalina.ant.ResourcesTask"/>
<taskdef name="roles"     classname="org.apache.catalina.ant.RolesTask"/>
<taskdef name="start"     classname="org.apache.catalina.ant.StartTask"/>
<taskdef name="stop"      classname="org.apache.catalina.ant.StopTask"/>
<taskdef name="undeploy"  classname="org.apache.catalina.ant.UndeployTask"/>

I've only used the deploy, install, and undeploy tasks, and the latter two work fine.  
Optionally,
I've used the properties file catalina.tasks in catalina-ant.jar to define the tasks, 
as well,
with the same results:

<path id="catalina.classpath">
   <fileset dir="${env.CATALINA_HOME}/server/lib">
      <include name="**/*.jar" />
   </fileset>
</path>

<taskdef resource="org/apache/catalina/ant/catalina.tasks"
      classpathref="catalina.classpath">
   <classpath id="jspc.classpath">
      <pathelement location="${env.JAVA_HOME}/lib/tools.jar"/>
      <fileset dir="${env.CATALINA_HOME}/bin">
         <include name="*.jar"/>
      </fileset>
      <fileset dir="${env.CATALINA_HOME}/server/lib">
         <include name="*.jar"/>
      </fileset>
      <fileset dir="${env.CATALINA_HOME}/common/lib">
         <include name="*.jar"/>
      </fileset>
   </classpath>
</taskdef>


                
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

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

Reply via email to