You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/12/22 08:15:07 UTC
DO NOT REPLY [Bug 25688] New: -
"install" target broken for sample webapp - java.util.zip.ZipException
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25688>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25688
"install" target broken for sample webapp - java.util.zip.ZipException
Summary: "install" target broken for sample webapp -
java.util.zip.ZipException
Product: Tomcat 5
Version: 5.0.16
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Webapps:Documentation
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: nigel@metica.com
In the binary distribution of tomcat-5.0.16
Using ant and the build file for the sample webapp
"jakarta-tomcat-5.0.16\webapps\tomcat-docs\appdev\sample\build.xml"
The "install" target fails with
[deploy] FAIL - Encountered exception java.util.zip.ZipException: error in
opening zip file
This problem has been answered on one of the mailing lists
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg111456.html
To solve this problem 2 changes are required to the build.xml file.
1) an extra taskdef line is required. Add the following line to build.xml where
the other taskdefs are.
<taskdef name="install" classname="org.apache.catalina.ant.InstallTask"/>
2) The "deploy" task within the "install" target needs to be changed to an
"install" task. All the arguments/ parameters remain the same, just change the
line.
from;
<deploy url="${manager.url}"
to;
<install url="${manager.url}"
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org