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

Metatype generation via bnd plugin creates incorrect file names

    XMLWordPrintableJSON

    Details

    • Flags:
      Patch

      Description

      When using the scr bnd plugin to generate SCR descriptors and an `l10n/metatype.properties` file is found, the name of the metatype.properties file is incorrect.

      The error I'm getting is

      [ERROR] Manifest org.apache.jackrabbit:oak-segment-tar:bundle:1.10-SNAPSHOT : Got unexpected exception while analyzing:org.apache.felix.scrplugin.SCRDescriptorException: metatype properties file must be stored outside of OSGI-INF/metatype, move it to OSGI-INF/l10n

      Note the missing '/' between l10n and the file name.

      I've traced it down to a problem in the scr.generator project, I'll attach a trivial patch which makes it work.

        Attachments

        1. FELIX-5771.patch
          0.9 kB
          Robert Munteanu

          Issue Links

            Activity

              People

              • Assignee:
                cziegeler Carsten Ziegeler
                Reporter:
                rombert Robert Munteanu
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: