You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2015/04/23 16:22:38 UTC
[jira] [Commented] (FELIX-4861) Metatype generation should fail if
there is no configuration property
[ https://issues.apache.org/jira/browse/FELIX-4861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14509137#comment-14509137 ]
David Jencks commented on FELIX-4861:
-------------------------------------
Metatype 1.3 does allow OCD with no AD. Among other things this can be useful to create a configuration-required component that gets an empty configuration to indicate whether it should be created or not. The metatype is the specification for the empty configuration.
> Metatype generation should fail if there is no configuration property
> ---------------------------------------------------------------------
>
> Key: FELIX-4861
> URL: https://issues.apache.org/jira/browse/FELIX-4861
> Project: Felix
> Issue Type: Improvement
> Components: SCR Tooling
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: maven-scr-plugin 1.21.0, scr generator 1.13.0, scr ant task 1.14.0, scr bnd plugin 1.4.0
>
>
> Right now, if there is no configuration property, but metatype is specified to be generated, an empty OCD is generated.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)