The GZip task in ant works no problem, but is there a way to get it to use maximum compression - the equivalent of gzip -9
?
I don't want to just use the native exec
task because then I'll lose cross platform compatibility.
The reason I ask is because I need to compress the changelog with gzip to include in a debian package (also generated via ant) and unless it uses maximum comrpession lintian spouts out a warning (which I'd obviously like to avoid.)
Why cant you create a small program with this http://commons.apache.org/compress/
try this .. http://bytemycode.com/snippets/snippet/178 for setting compression level feature to GZipOut Stream
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With