You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2014/01/10 14:47:50 UTC

[jira] [Commented] (FELIX-4378) generate a metatype.properties file if label/description values are used on @Component or @Property which don't start with %

    [ https://issues.apache.org/jira/browse/FELIX-4378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13867799#comment-13867799 ] 

Carsten Ziegeler commented on FELIX-4378:
-----------------------------------------

[~jstrachan] Could you please share the code for your component?

> 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
>             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)