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

Tom White commented on WHIRR-311:
---------------------------------

+1 This looks good. The only potential problem is that core and cli have 
overlapping packages (which may be a problem for OSGI?). How about changing the 
package in core to org.apache.whirr.command?

> Allow services to register new CLI commands
> -------------------------------------------
>
>                 Key: WHIRR-311
>                 URL: https://issues.apache.org/jira/browse/WHIRR-311
>             Project: Whirr
>          Issue Type: Improvement
>          Components: cli, core
>            Reporter: Andrei Savu
>            Assignee: Andrei Savu
>         Attachments: WHIRR-311.patch
>
>
> I believe it should be possible to define new CLI commands inside a service. 
> I've changed the code to use Java SPI to discover the available commands. I 
> had to move the following classes Command & AbastractClusterCommand from 
> whirr-cli to whirr-core thanks to this maven "feature": 
> http://jira.codehaus.org/browse/MNG-2758 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to