Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-4836

Bnd Scrplugin is called twice by BndTools

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • scr bnd plugin 1.3.0
    • scr bnd plugin 1.4.0
    • SCR Tooling
    • None

    Description

      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:

      "Service-Component entry can not be located in JAR: OSGI-INF/greeting.impl.GreetingImpl.xml~
      

      To work around, the Scr bnd plugin must check for duplicated component descriptors paths, when generating the Service-Component header.

      Attachments

        Activity

          People

            pderop Pierre De Rop
            pderop Pierre De Rop
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: