Return-Path: Delivered-To: apmail-buildr-commits-archive@www.apache.org Received: (qmail 96327 invoked from network); 11 Sep 2009 15:55:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Sep 2009 15:55:21 -0000 Received: (qmail 83340 invoked by uid 500); 11 Sep 2009 15:55:21 -0000 Delivered-To: apmail-buildr-commits-archive@buildr.apache.org Received: (qmail 83311 invoked by uid 500); 11 Sep 2009 15:55:21 -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 83300 invoked by uid 500); 11 Sep 2009 15:55:21 -0000 Delivered-To: apmail-incubator-buildr-commits@incubator.apache.org Received: (qmail 83292 invoked by uid 99); 11 Sep 2009 15:55:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 15:55:19 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 15:55:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 964C6234C4AB for ; Fri, 11 Sep 2009 08:54:57 -0700 (PDT) Message-ID: <1210602327.1252684497614.JavaMail.jira@brutus> Date: Fri, 11 Sep 2009 08:54:57 -0700 (PDT) From: "Alex Boisvert (JIRA)" To: buildr-commits@incubator.apache.org Subject: [jira] Commented: (BUILDR-311) Better support of entries in manifest In-Reply-To: <1901796122.1252671297677.JavaMail.jira@brutus> 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-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754181#action_12754181 ] Alex Boisvert commented on BUILDR-311: -------------------------------------- Since the values of manifest entries don't have a standard format, how about using more DSL-ish helpers to achieve this? e.g., project("foo").package.manifest = osgi { import_package [{"p1" => {"bundle-version" => "1.1"}},"p2","p3"] export_package %w[p1 p2 p3] } > Better support of entries in manifest > ------------------------------------- > > Key: BUILDR-311 > URL: https://issues.apache.org/jira/browse/BUILDR-311 > Project: Buildr > Issue Type: Improvement > Affects Versions: 1.3.4 > Reporter: Antoine Toulme > Assignee: Assaf Arkin > > I would like to propose an enhancement to buildr on the way the manifest accepts entries. > Right now you can do: > project("foo").package.manifest = { "Export-Package" => "p1,p2,p3"} > Eventually I'd like to do: > project("foo").package.manifest = { "Export-Package" => %w[p1 p2 p3]} > Because then I have more length to modulate the array, use an array defined somewhere else. > I also would like to do: > project("foo").package.manifest = { "Import-Package" => [{"p1" => {"bundle-version" => "1.1"}},"p2","p3"]} > which would show like this in the manifest: > Import-Package: p1;bundle-version:="1.1",p2,p3 > Those subentries definitions are very important wrt to the work I am doing on my plugin. > I will propose a patch for this, I'd love some feedback if possible. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.