karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Weule (JIRA) <j...@apache.org>
Subject [jira] [Updated] (KARAF-5066) feature:install feature:uninstall without any error
Date Sat, 25 Mar 2017 15:12:41 GMT

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

Mime
View raw message