Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367430 - Bundlor should support distributing attributes over packages in templates
Summary: Bundlor should support distributing attributes over packages in templates
Status: NEW
Alias: None
Product: Virgo
Classification: RT
Component: tooling (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 368782
  Show dependency tree
 
Reported: 2011-12-22 10:42 EST by Glyn Normington CLA
Modified: 2012-01-16 19:30 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Glyn Normington CLA 2011-12-22 10:42:17 EST
If you specify in template.mf:

Import-Package: p;q;version="1"

then the generated MANIFEST.MF contains:

Import-Package: p;version="1"

and the package "q" is discarded. This is unintuitive to anyone familiar with OSGi header syntax.

I think this applies mainly to the Import-Package and Export-Package headers, but it might be worth checking that Require-Bundle doesn't have the same issue.