You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Antoine Toulme (JIRA)" <ji...@apache.org> on 2010/09/25 02:58:33 UTC

[jira] Updated: (BUILDR-517) including a folder at the root of a jar using 'as' makes a corrupted jar.

     [ https://issues.apache.org/jira/browse/BUILDR-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Toulme updated BUILDR-517:
----------------------------------

         Priority: Blocker  (was: Minor)
         Assignee: Antoine Toulme
    Fix Version/s: 1.4.3

> including a folder at the root of a jar using 'as' makes a corrupted jar.
> -------------------------------------------------------------------------
>
>                 Key: BUILDR-517
>                 URL: https://issues.apache.org/jira/browse/BUILDR-517
>             Project: Buildr
>          Issue Type: Bug
>          Components: Core features
>    Affects Versions: 1.4.2
>            Reporter: Hugues Malphettes
>            Assignee: Antoine Toulme
>            Priority: Blocker
>             Fix For: 1.4.3
>
>
>  package(:jar).include(_("src/main/foo"), :as=>"foo").with :manifest => man
> Produced a corrupted jar:
> when unzipped on a linux machine via the command line the 'x' permission of the foo directory is missing the 'x' permission:
> > ls -la
> drw-r--r-- 6 hmalphettes hmalphettes    4096 2010-09-24 17:31 foo
> Workarounds:
>  package(:jar).include(_("src/main/foo"), :path=>"/").with :manifest => man
> or
>  package(:jar).include(_("src/main/foo"), :as=>"foo/").with :manifest => man
> will produce:
> > ls -la
> drwxr-xr-x 6 hmalphettes hmalphettes    4096 2010-09-24 17:33 foo

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