Return-Path: Delivered-To: apmail-buildr-commits-archive@www.apache.org Received: (qmail 63452 invoked from network); 12 Oct 2010 01:37:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Oct 2010 01:37:56 -0000 Received: (qmail 21530 invoked by uid 500); 12 Oct 2010 01:37:56 -0000 Delivered-To: apmail-buildr-commits-archive@buildr.apache.org Received: (qmail 21502 invoked by uid 500); 12 Oct 2010 01:37:56 -0000 Mailing-List: contact commits-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@buildr.apache.org Delivered-To: mailing list commits@buildr.apache.org Received: (qmail 21495 invoked by uid 500); 12 Oct 2010 01:37:56 -0000 Delivered-To: apmail-incubator-buildr-commits@incubator.apache.org Received: (qmail 21492 invoked by uid 99); 12 Oct 2010 01:37:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Oct 2010 01:37:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Oct 2010 01:37:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9C1bWKj011664 for ; Tue, 12 Oct 2010 01:37:32 GMT Message-ID: <21191549.87081286847452441.JavaMail.jira@thor> Date: Mon, 11 Oct 2010 21:37:32 -0400 (EDT) From: "Hugues Malphettes (JIRA)" To: buildr-commits@incubator.apache.org Subject: [jira] Commented: (BUILDR-517) package(:jar).include(directory, :as=>"foo") produces a corrupted jar In-Reply-To: <32672998.395151285374992627.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/BUILDR-517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920050#action_12920050 ] Hugues Malphettes commented on BUILDR-517: ------------------------------------------ Cheers Alex! > package(:jar).include(directory, :as=>"foo") produces 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: Alex Boisvert > 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.