I've got two custom tasks for tomcat's manager app:
<taskdef name="deploy" classname="org.apache.catalina.ant.DeployTask"/>
<taskdef name="install" classname="org.apache.catalina.ant.InstallTask"/>
<target name="deploy" description="Install web application">
<deploy url="${url}" username="${username}" password="${password}"
path="${path}" war="file:${env.AXIS_HOME}/webapps/axis"/>
</target>
<target name="install" description="Install web application">
<install url="${url}" username="${username}" password="${password}"
path="${path}" war="file:${env.AXIS_HOME}/webapps/axis"/>
</target>
After browsing through the documentation, I've found that the install task has been
depreciated in
favor of the deploy task. However, deploy gives me the following exception message,
while install
works fine:
deploy:
[deploy] FAIL - Encountered exception java.util.zip.ZipException: Could not find
End Of Central
Directory
Since deploy is the favored means of deploying a web app, I want to use it instead,
but I can't
figure out why I'm getting this exception message.
Linux Red Hat 9.0+
JRockit 1.4.2_04
tomcat 5.0.27
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]