[
https://issues.apache.org/jira/browse/FELIX-4378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13872525#comment-13872525
]
james strachan commented on FELIX-4378:
---------------------------------------
BTW as an aside is there any good reason not to make the retention policy
runtime for the Felix SCR annotations? It'd be handy to be able to use runtime
introspection to do field/setter injection of @Property from the Map in a base
class...
> generate a metatype.properties file if label/description values are used on
> @Component or @Property which don't start with %
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: FELIX-4378
> URL: https://issues.apache.org/jira/browse/FELIX-4378
> Project: Felix
> Issue Type: Improvement
> Components: Maven SCR Plugin
> Reporter: james strachan
> Assignee: Carsten Ziegeler
> Fix For: maven-scr-plugin 1.15.0
>
>
> I tried using 1.15.0 of the plugin and added some textual string values
> (which don't start with %) for label/description on @Component and @Property
> and they get generated into the metatype.xml file as text strings.
> I was hoping the XML would use "%foo.label" and "%foo.description" then
> generate a metatype.properties with the mapping of foo.label = "My Label" so
> that folks can add extra languages by just adding a new metatype file?
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)