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 52414] Add compression ratio to gzip task
Date Thu, 12 Jan 2012 15:39:12 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52414

--- Comment #1 from Stefan Bodewig <bodewig@apache.org> 2012-01-12 15:39:12 UTC ---
While I agree this would e a nice feature, it is not feasible for the core task
without rewriting it completely.  The core gzip task is based on
java.util.zip.GZIPOutputStream which doesn't provide any control over the
compression level.

The gzip task of the compress Antlib is a different beast as Conmmons Compress'
trunk has moved away from using GZIPInputStream in order to support files that
contain multipile compressed streams.  It would be possible to re-implement
GZipCompressorOutputStream over there as well and then make the compression
level configurable.  Not that I'd advise you to hold your breath ...

-- 
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