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=19449>. 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=19449 <zip filesonly='yes' ,,, > broken Summary: <zip filesonly='yes' ,,, > broken Product: Ant Version: 1.5.3 Platform: PC OS/Version: Windows XP Status: NEW Severity: Major Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have a task of the form <zip destfile='outsideRoot/some.zip' filesonly='yes' update='no'> <zipfileset dir='${zip.root}'> <include name='rootDir/**'/> <not><filename name='**/*.ini'/></not> </zipfileset> </zip>. some.zip gets constructed. Then, I modify the file rootDir/subdir1/.../subdirN/something.ini (by deletion and recreation, thus changing the timestamp of the containing directory) and run the task again. The zip gets recreated. On examination of the -v output of the build, I find a line for each subdir of rootDir subdir added as subdir doesn't exist It seems that directories are (correctly) not added to the archive, however since they are not there, they (incorrectly) cause the archive to be rebuilt. On the other hand, with filesonly='no', the zip is also built, because rootDir/subdir1/.../subdirN added as rootDir/subdir1/.../subdirN is outdated This is a major problem for us, as the archive in question is very large and takes a loooong time to build.