Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324209

Summary: Support for osgi.ee capability in manifest (BREE header deprecated)
Product: [Eclipse Project] PDE Reporter: Darin Wright <darin.eclipse>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: aniefer, curtis.windatt.public, remy.suen, tjwatson
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=347513
Whiteboard: stalebug

Description Darin Wright CLA 2010-09-01 10:58:01 EDT
See bug 323964. OSGi is adding support for new Required and Provided capability headers. The required capability header can be used to describe the execution environment requirements of a bundle.

PDE needs to be able to:

* validate the new headers
* understant the new header (i.e. equate to BREE) to determine a bundle's classpath (system library)
* write the new headers instead of BREE when the bundle uses the new headers

For 3.7, we should keep it simple and tolerate the new headers. We don't intend to migrate existing bundles to use the new header yet.
Comment 1 Thomas Watson CLA 2010-09-01 23:49:34 EDT
For bug323964 I released updated java profile files to include values for org.osgi.framework.system.capabilities that lists the osgi.ee capabilities the system bundle should provide for the various java profiles.  PDE UI and PDE build should set this profile in the platform properties that get passed to the resolver State so that bundles that require an osgi.ee capability can resolve.
Comment 2 Thomas Watson CLA 2010-09-07 15:26:47 EDT
We should hold off on doing any of this work.  I have questions about the overall usefulness of using Require-Capability to express ee requirements to OSGi.  In short my concern is that Require-Capability will not give us any more expressiveness for controlling the EE a bundle can run on than BREE.  If that is the case then I think the specification of the osgi.ee capability namespace will be removed.
Comment 3 Curtis Windatt CLA 2013-06-25 10:10:03 EDT
This bug will be for working with the osgi.ee capability as the BREE header is deprecated (http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/Constants.html#BUNDLE_REQUIREDEXECUTIONENVIRONMENT).

For general support for capabilities, see Bug 347513
Comment 4 Eclipse Genie CLA 2019-01-27 02:57:18 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 5 Lars Vogel CLA 2019-09-02 15:03:51 EDT
This bug has been marked as stalebug a while ago without any further interaction.

If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard flag.
Comment 6 Lars Vogel CLA 2019-09-02 15:06:56 EDT
This bug was marked as stalebug a while ago. Marking as worksforme.

If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard tag.
Comment 7 Thomas Watson CLA 2019-09-03 09:15:55 EDT
A better state for this is wontfix.  I don't believe this works for anyone.