aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bosschaert (JIRA)" <>
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


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

View raw message