[ 
https://issues.apache.org/jira/browse/BUILDR-326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886791#action_12886791
 ] 

Sam Hendley commented on BUILDR-326:
------------------------------------

There is a bug in this that causes it to corrupt files in windows. On line 163:

File.open(dest, 'w') {|f| f.write entry.read}

That needs to be a binary safe write: File.open(dest, 'wb').

Commit on github: 
http://github.com/samhendley/buildr/commit/a9d2805b70b2b67ea44b3d75a0cee9cdffbba190

> support unzipping tar.gz files
> ------------------------------
>
>                 Key: BUILDR-326
>                 URL: https://issues.apache.org/jira/browse/BUILDR-326
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Packaging
>    Affects Versions: 1.3.4
>            Reporter: Hugues Malphettes
>             Fix For: 1.4
>
>         Attachments: BUILDR-326.txt, ziptask_support_for_tgz.diff
>
>
> It would be nice to handle this type of code where the artifact points to a 
> tgz file
> build unzip(_("target/equinox-runtime")=>artifact(EQUINOX_RUNTIME_FRAMEWORK))

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to