ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47373] Zip.java patch to support setting last modified date
Date Thu, 25 Jun 2009 09:21:12 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47373





--- Comment #20 from Stefan Bodewig <bodewig@apache.org>  2009-06-25 02:21:03 PST ---
In general the cast to ArchiveFileSet should be fixable by introducing an
interface for resources that have a prefix/permissions/... (or extend
ArchiveResource) and using the new as() method - but it would involve a major
rewrite of the addResources methods which might be pretty hard to do without
breaking backwards compatibility of the API.

In addition we take a shortcut for ZipFileSets that actually read zip files to
avoid repeatedly opening and closing the archive - this would be impossible to
do using the decorator approach so anybody using the decorator would take a
(major) performance hit when repackaging zips.

I'll need to look around the code a bit more and maybe take some experiments to
finalize my thought on this.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message