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

David Bosschaert commented on ARIES-1156:
-----------------------------------------

I noticed that the static tool leaves a syntax error in the manifest:
{code}Require-Capability: osgi.serviceloader; filter:="(osgi.serviceloader=o
 rg.apache.aries.spifly.mysvc.SPIProvider)";cardinality:=multiple,{code}
That trailing comma shouldn't be there.

I'm changing the code to remove the trailing comma.

> SPI-Fly static tool does not work with Require-Capability bundles
> -----------------------------------------------------------------
>
>                 Key: ARIES-1156
>                 URL: https://issues.apache.org/jira/browse/ARIES-1156
>             Project: Aries
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: David Bosschaert
>            Assignee: David Bosschaert
>
> When processing the spi-fly-example-client2-bundle with the static tool, the 
> bundle contains invalid metadata and will not install. 
> Installation of the 
> org.apache.aries.spifly.examples.client2.bundle-1.0.1-SNAPSHOT_spifly.jar 
> bundle in Equinox yields the following exception:
> Invalid manifest header Require-Capability: "osgi.serviceloader; 
> filter:="(osgi.serviceloader=org.apache.aries.spifly.mysvc.SPIProvider)";cardinality:=multiple,"
> Note the trailing comma that should not be there.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to