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

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

Workaround: use the Aries-proprietary 
  SPI-Consumer: *
header which will work with the static tool.

> 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
>
> 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