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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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/[EMAIL PROTECTED]/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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]