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

Bnd Scrplugin is called twice by BndTools

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: scr bnd plugin 1.3.0
    • Fix Version/s: scr bnd plugin 1.4.0
    • Component/s: SCR Tooling
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: