-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Treat 'Require-Capability: osgi.ee' as equivalent to 'Bundle-RequiredExecutionEnvironment' #140
Comments
This was referenced Jun 5, 2022
alshamams
added a commit
to alshamams/eclipse.pde
that referenced
this issue
Dec 11, 2023
Presence of osgi.ee capability ‘Require-Capability’ should mitigate absence of BREE headers in the manifest. The current parser has no awareness of Require-Capability header. In future the parser should consider this header too while evaluating BREE header. Fixes: eclipse-pde#140
laeubi
pushed a commit
to alshamams/eclipse.pde
that referenced
this issue
Jan 27, 2024
Presence of osgi.ee capability ‘Require-Capability’ should mitigate absence of BREE headers in the manifest. The current parser has no awareness of Require-Capability header. In future the parser should consider this header too while evaluating BREE header. Fixes: eclipse-pde#140
laeubi
pushed a commit
to alshamams/eclipse.pde
that referenced
this issue
Feb 11, 2024
Presence of osgi.ee capability ‘Require-Capability’ should mitigate absence of BREE headers in the manifest. The current parser has no awareness of Require-Capability header. In future the parser should consider this header too while evaluating BREE header. Fixes: eclipse-pde#140
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If a bundle declares a
osgi.ee
capability likeRequire-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.7))"
but noBundle-RequiredExecutionEnvironment
the Manifest-Editor creates a warning about a missing execution environment and shows an empty List of EEs.But BREE is deprecated by the OSGi spec:
http://docs.osgi.org/specification/osgi.core/8.0.0/framework.module.html#framework.module.bree
Therefore such an osgi.ee capability should be treated equivalently regarding warnings, internal processing (I have not yet checked if it is already considered, maybe implicitly by the resolver?) and visual representation regarding in the Editor.
We could even consider to create
osgi.ee
capabilities instead of BREEs if new ones are added via the editor.This is similar to Bug 324209.
The text was updated successfully, but these errors were encountered: