felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Munteanu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-5771) Metatype generation via bnd plugin creates incorrect file names
Date Wed, 10 Jan 2018 16:00:03 GMT

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

Robert Munteanu updated FELIX-5771:
    Attachment: FELIX-5771.patch

> Metatype generation via bnd plugin creates incorrect file names
> ---------------------------------------------------------------
>                 Key: FELIX-5771
>                 URL: https://issues.apache.org/jira/browse/FELIX-5771
>             Project: Felix
>          Issue Type: Bug
>          Components: SCR Tooling
>    Affects Versions: scr generator 1.17.0
>            Reporter: Robert Munteanu
>         Attachments: FELIX-5771.patch
> 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 {noformat}[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{noformat}
> 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.

This message was sent by Atlassian JIRA

View raw message