【问题标题】:Fragment bundle is not getting activated片段包未激活
【发布时间】:2019-02-08 15:15:05
【问题描述】:

我有两个 osgi bundles Bundle A 和 Bundle B。Bundle B 是 bundle A 的一个片段 bundle。当两个组件都在 osgi 环境中时,Bundle A 处于 ACTIVE 状态,而 Bundle B 处于 RESOLVED 状态而不是被激活。如果我删除 <Fragment-Host> 标头,捆绑 B 将被激活。

我有什么特定的方式来定义片段包吗? (除了添加<Fragment-Host>? 可能添加任何注释等)? .如果有任何我可以使用的示例资源,请告诉我

我正在使用 org.eclipse.osgi_3.11.0.v20160603-1336。示例包可以在https://github.com/chamilaadhi/sample-bundles中找到

谢谢

【问题讨论】:

    标签: eclipse osgi-bundle equinox


    【解决方案1】:
    猜你喜欢
    • 2012-01-25
    • 1970-01-01
    • 2013-11-28
    • 2012-05-09
    • 2019-12-22
    • 1970-01-01
    • 1970-01-01
    • 2012-11-25
    • 1970-01-01
    相关资源
    最近更新 更多