You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Pierre De Rop (JIRA)" <ji...@apache.org> on 2015/03/26 15:11:52 UTC

[jira] [Updated] (FELIX-4836) Bnd Scrplugin is called twice by BndTools

     [ https://issues.apache.org/jira/browse/FELIX-4836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre De Rop updated FELIX-4836:
---------------------------------
    Fix Version/s: scr bnd plugin 1.4.0

> Bnd Scrplugin is called twice by BndTools
> -----------------------------------------
>
>                 Key: FELIX-4836
>                 URL: https://issues.apache.org/jira/browse/FELIX-4836
>             Project: Felix
>          Issue Type: Bug
>          Components: SCR Tooling
>    Affects Versions: scr bnd plugin 1.3.0
>            Reporter: Pierre De Rop
>            Assignee: Pierre De Rop
>            Priority: Critical
>             Fix For: scr bnd plugin 1.4.0
>
>
> The Scr Bnd plugin is now called twice by BndTools 2.4.1 and onwards versions. This causes a problem because the second time the plugin is called, then "Service-Component" header is appended a second time with the same set of component descriptors paths; and we get some compilation errors like this one:
> {code}
> "Service-Component entry can not be located in JAR: OSGI-INF/greeting.impl.GreetingImpl.xml~
> {code}
> To work around, the Scr bnd plugin must check for duplicated component descriptors paths, when generating the Service-Component header.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)