[
https://issues.apache.org/jira/browse/FELIX-5771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler closed FELIX-5771.
-----------------------------------
Resolution: Fixed
Thanks for your patch, Robert. it's applied
> 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: maven-scr-plugin-1.25.0, scr ant task 1.17.0, scr
> generator 1.17.0, scr bnd plugin 1.8.0
> Reporter: Robert Munteanu
> Assignee: Carsten Ziegeler
> Fix For: maven-scr-plugin-1.26.0, scr ant task 1.18.0, scr
> generator 1.18.0, scr bnd plugin 1.8.2
>
> 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
(v6.4.14#64029)