You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2012/01/02 19:49:45 UTC
DO NOT REPLY [Bug 52414] New: Add compression ratio to gzip task
https://issues.apache.org/bugzilla/show_bug.cgi?id=52414
Bug #: 52414
Summary: Add compression ratio to gzip task
Product: Ant
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Core tasks
AssignedTo: notifications@ant.apache.org
ReportedBy: berry120@gmail.com
Classification: Unclassified
At the moment you can't select the level of compression you want on the gzip
task - this would be useful in certain scenarios for example compressing
changelogs for Debian packages (lintian throws a warning if it's not using
maximum compression.)
This would be nice to have as a separate attribute.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 52414] Add compression ratio to gzip task
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52414
Michael <be...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |berry120@gmail.com
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 52414] Add compression ratio to gzip task
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52414
--- Comment #1 from Stefan Bodewig <bo...@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.
[Bug 52414] Add compression ratio to gzip task
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52414
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Component|Core tasks |Compress Antlib
Version|unspecified |1.4
Resolution|--- |FIXED
Target Milestone|--- |1.5
--- Comment #2 from Stefan Bodewig <bo...@apache.org> ---
added to Compress Antlib with svn revision 1577923
--
You are receiving this mail because:
You are the assignee for the bug.