ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: svn commit: r1462931 - in /ant/core/trunk: WHATSNEW manual/Tasks/ear.html manual/Tasks/jar.html manual/Tasks/war.html manual/Tasks/zip.html
Date Sun, 31 Mar 2013 18:20:47 GMT
On 2013-03-31, Jesse Glick wrote:

> On 03/31/2013 07:24 AM, bodewig@apache.org wrote:
>>> <p>When Ant writes compressed entries into the archive it creates it
>>>  doesn't know the compressed size of an entry before it has been
>>>  written.  Unfortunately the decision whether a Zip64 extra field
>>>  will be written has to be made before writing the entry's
>>>  content.</p>

> Seems like there should be some way around this, by compressing to a
> temporary buffer perhaps?

We do so for STORED entries and risk OutOfMemoryExceptions (we could
throw away the buffer and just count).  The performance impact would be
non-trivial for big files, which is what Zip64 really is about.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message