[
https://issues.apache.org/jira/browse/BUILDR-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Guymon updated BUILDR-546:
----------------------------------
Attachment: rubyzip_0.9.4_support_mk2.patch
Updated the monkey patch to override the invalid comment, so a correct header
will be set in the zip.
The jar header check used in the spec, using 'jar tvf <file>', only works on
non empty zips, otherwise it returns "java.util.zip.ZipException: error in
opening zip file".
> Support for Rubyzip 0.9.4
> -------------------------
>
> Key: BUILDR-546
> URL: https://issues.apache.org/jira/browse/BUILDR-546
> Project: Buildr
> Issue Type: Improvement
> Components: Packaging
> Affects Versions: 1.4.4
> Reporter: Michael Guymon
> Fix For: 1.4.5
>
> Attachments: rubyzip_0.9.4_support.patch,
> rubyzip_0.9.4_support_mk2.patch
>
>
> To support rubyzip 0.9.4, an override is needed to
> Zip::ZipEntry#write_c_dir_entry to fix comments length error.
> This and other monkey patching to Zip::ZipEntry make other gems break (such
> as warbler 1.2.1) if buildr uses autoload. While the monkey patches exist,
> rubyzip will have to be required instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.