karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-1483) Help generation does not work for commands without noargs constructor
Date Wed, 16 May 2012 08:15:02 GMT
Christian Schneider created KARAF-1483:
------------------------------------------

             Summary: Help generation does not work for commands without noargs constructor
                 Key: KARAF-1483
                 URL: https://issues.apache.org/jira/browse/KARAF-1483
             Project: Karaf
          Issue Type: Bug
            Reporter: Christian Schneider
            Assignee: Christian Schneider
             Fix For: 3.0.0


I changed some commands to use constructor based injection. While I think this
is more safe as you can ensure the depencies are fully set it creates problems with the help
generation.

The Help generation in the karaf maven plugin needs a noargs constructor to access the default
values of fields.

So I will change the commands back to use property based injection and document that a no
args constructor is needed in the Action interface.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message