felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-4861) Metatype generation should fail if there is no configuration property
Date Thu, 23 Apr 2015 14:22:38 GMT

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

Mime
View raw message