ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5036] - Zip and friends task enhancement request
Date Wed, 05 Feb 2003 11:53:57 GMT
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=5036>.
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=5036

Zip and friends task enhancement request





------- Additional Comments From bodewig@apache.org  2003-02-05 11:53 -------
My approach would be to neither use foreach nor update="true" at all.
Instead I'd either use <zipgroupfileset> on individual intermediate archives
or filesets directly.

You say that you "don't want my existing .zip file to be blown away and re-created
from scratch each time I try to add a subgroup" - well, honestly you'll do so
whether you say update="true" or not.

The way update="true" works is that it copies the existing archive, creates a new
one with the new content from your various sources and the adds the remaining stuff
from the old archive (via an internal zipfileset).

If you have access to all files that are supposed to be in your archive at once -
you'll probably get a real performance boost by using update="false" instead.
update="true" will probably be faster if your filesystem is real slow on
directory traversal, though.

Mime
View raw message