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

Freeman Fang commented on KARAF-2296:
-------------------------------------

Hi,

I tested with the latest 3.0.0 SNAPSHOT, current behavior is already what you 
want, a feature with 
install="auto", if you uninstall it from the console, then restart Karaf, the 
feature will be installed again.

Freeman
                
> features service should enforce install mode=auto on framework restart
> ----------------------------------------------------------------------
>
>                 Key: KARAF-2296
>                 URL: https://issues.apache.org/jira/browse/KARAF-2296
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 3.0.0.RC1
>            Reporter: Andrei Pozolotin
>            Assignee: Freeman Fang
>
> currently, when you drop a repo-features.xml with some features with 
> install=auto mode, these features will get installed ok.
> however, later, it can be manually uninstalled from command shell, and this 
> "uninstall" state is persisted by the features service.
> instead features service should enforce install mode=auto on karaf restart, 
> in other words, it should check on restart, if install=auto features are 
> really installed and install them when they are not.
> alternatively, lets provide an option in org.apache.karaf.features.cfg to 
> control this behavior.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to