Robert Munteanu created FELIX-5771: -------------------------------------- Summary: 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 (v6.4.14#64029)