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=4366>. 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=4366 The cleanUp() method in the Zip task does not completely clean up. Summary: The cleanUp() method in the Zip task does not completely clean up. Product: Ant Version: 1.4.1 Platform: All OS/Version: All Status: NEW Severity: Major Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The cleanUp() method in Zip.java of the Zip task does the following: protected void cleanUp() { addedDirs = new Hashtable(); addedFiles = new Vector(); } It does not reset the 'filesets' variable. As a result, when the instance is reused to zip some other files, the files zipped in the prior usage are included in later usages too. The clenaUp() method should have been as follows: protected void cleanUp() { addedDirs = new Hashtable(); addedFiles = new Vector(); filesets = new Vector(); } Thank you for your attention.
