You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jörg Weule (JIRA)" <ji...@apache.org> on 2017/03/25 15:12:41 UTC

[jira] [Updated] (KARAF-5066) feature:install feature:uninstall without any error

     [ https://issues.apache.org/jira/browse/KARAF-5066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jörg Weule updated KARAF-5066:
------------------------------
    Description: 
feature:install and feature:uninstall are generating errors if the feature is still installed or uninstalled resp. Karaf scripts are ended by this error. An option should tell the commands to ignore the error and scripts are more robust.

As an alternative, a new command feature:is-installed returning a Boolean should be implemented for
if { feature:is-installed xxx } { feature:uninstall xxx }
if {(  feature:is-installed xxx ) equals false } { feature:install xxx }


  was:feature:install and feature:uninstall are generating errors if the feature is still installed or uninstalled resp. Karaf scripts are ended by this error. An option should tell the commands to ignore the error and scripts are more robust.


> feature:install feature:uninstall without any error
> ---------------------------------------------------
>
>                 Key: KARAF-5066
>                 URL: https://issues.apache.org/jira/browse/KARAF-5066
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Jörg Weule
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> feature:install and feature:uninstall are generating errors if the feature is still installed or uninstalled resp. Karaf scripts are ended by this error. An option should tell the commands to ignore the error and scripts are more robust.
> As an alternative, a new command feature:is-installed returning a Boolean should be implemented for
> if { feature:is-installed xxx } { feature:uninstall xxx }
> if {(  feature:is-installed xxx ) equals false } { feature:install xxx }



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)