You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "John Ross (JIRA)" <ji...@apache.org> on 2013/05/17 22:43:15 UTC

[jira] [Commented] (ARIES-1072) Bundle BREE headers must be converted to osgi.ee requirements for proper resolution at subsystem install time.

    [ https://issues.apache.org/jira/browse/ARIES-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13661032#comment-13661032 ] 

John Ross commented on ARIES-1072:
----------------------------------

The current workaround would be to manually add a Require-Capability clause corresponding to the BREE header within the bundle manifest, according to osgi core specification 3.4.1.

For example,

Bundle-RequiredExecutionEnvironment: JavaSE-1.6, JavaSE-1.7

Require-Capability: osgi.ee; filter:="(|(&(osgi.ee=JavaSE)(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))"
                
> Bundle BREE headers must be converted to osgi.ee requirements for proper resolution at subsystem install time.
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: ARIES-1072
>                 URL: https://issues.apache.org/jira/browse/ARIES-1072
>             Project: Aries
>          Issue Type: Bug
>          Components: Subsystem
>    Affects Versions: 1.0
>            Reporter: John Ross
>            Assignee: John Ross
>
> Subsystems containing bundles that declare a BREE header with an unsupported environment will currently resolve at install time then fail to start later because runtime resolution fails. This failure should occur at install time.
> The BREE headers should be converted into osgi.ee requirements according to OSGi core specification 3.4.1.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira