aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bosschaert (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARIES-1156) SPI-Fly static tool does not work with Require-Capability bundles
Date Mon, 10 Feb 2014 16:44:19 GMT

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

Mime
View raw message