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


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.

Reply via email to