[
https://issues.apache.org/jira/browse/OAK-7138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16326067#comment-16326067
]
Robert Munteanu commented on OAK-7138:
--------------------------------------
{quote}I assume you rather mean "compare the metatype XML file from the old and
new jars". The metatype *properties* file is only present in the old jar, which
is wrong as you pointed out\{quote}
Actually I mean the properties file. It was expected to be in {{OSGI-INF/l10n}}
instead of {{OSGI-INF/metatype}} where we place it. It is still expected to be
there when we have XML metatype files which have placeholders, e.g.
{code:xml}<AD id="my.prop.id" name="%my.prop.name"
description="%my.prop.description"/>{code}
The keys {{my.prop.name}} and {{my.prop.description}} will be looked for in the
{{metatype.description}} file. Unfortunately I'm unable to find a reference to
this in the OSGi Compendium for some reason. Maybe it's a Felix extension?
> Move metatype files in source control to correct location
> ---------------------------------------------------------
>
> Key: OAK-7138
> URL: https://issues.apache.org/jira/browse/OAK-7138
> Project: Jackrabbit Oak
> Issue Type: Technical task
> Reporter: Robert Munteanu
> Assignee: Robert Munteanu
> Priority: Major
> Fix For: 1.10, 1.8.1
>
>
> The following files should be stored under {{OSGI-INF/l10n}}:
> {noformat}find -name metatype.properties | grep -v target
> ./oak-core/src/main/resources/OSGI-INF/metatype/metatype.properties
> ./oak-store-document/src/main/resources/OSGI-INF/metatype/metatype.properties
> ./oak-segment-tar/src/main/resources/OSGI-INF/metatype/metatype.properties
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)