[
https://issues.apache.org/jira/browse/ARIES-1368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14662200#comment-14662200
]
John Ross commented on ARIES-1368:
----------------------------------
Thanks, Tom. If you look at OSGI-INF/SUBSYSTEM.MF contained within your
attached ESA file, you will see the following:
Subsystem-Content:
be.aca.test-service-fragment;type="osgi.fragment";version="[1.0.1.SNAPSHOT,1.0.1.SNAPSHOT]";start-order:="1"
It is the declaration of the type, which I emphasize is correct, that is
causing the issue in your case, which corresponds to (2) in my previous comment
of
https://issues.apache.org/jira/browse/ARIES-1368?focusedCommentId=14661827&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14661827.
I presume this is being generated by the plugin. A workaround would be to
either remove the type from Subsystem-Content or the entire header itself;
however, this will be fixed as part of a future release. For example, the
following modification should work:
Subsystem-Content:
be.aca.test-service-fragment;version="[1.0.1.SNAPSHOT,1.0.1.SNAPSHOT]";start-order:="1"
> BundleResource is not able to compute capabilities for fragments
> ----------------------------------------------------------------
>
> Key: ARIES-1368
> URL: https://issues.apache.org/jira/browse/ARIES-1368
> Project: Aries
> Issue Type: Bug
> Components: Subsystem
> Affects Versions: subsystem-core-1.2.0
> Reporter: Wouter Bancken
> Attachments:
> OsgiIdentityCapability.OsgiIdentityCapability(Resource,BundleManifest)-CallHierarchy.jpg,
> test-service-fragment-subsystem-1.0.1-SNAPSHOT.esa
>
>
> The computeOsgiIdentityCapability method of the BundleResource is not able to
> compute capabilities for fragments (only for bundles).
> This is caused by the fact that the BundleResource is hardcoded to always
> assume a type of osgi.bundle without inspecting the manifest.
> Link to mailinglist thread:
> http://mail-archives.apache.org/mod_mbox/aries-user/201508.mbox/%3CCAL5nZgTOVhdAPYYFOmuV%3DPquAz1a4n_D1Rd3RBrTfu2znCSjKA%40mail.gmail.com%3E
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)