Hi,

you can use -t to simulate.

By default, the feature resolver will leave the bundles & features installed before the failure.

Regards
JB

On 05/04/2016 09:42 AM, Cristiano Costantini wrote:
Hello All,
in the previous version of Karaf I was using (2.4.0) it was possible to
install the bundles of a Features even if it cannot be started, using
the option -c (--no-clean):

karaf@root> features:install --help
DESCRIPTION
         features:install

Installs a feature with the specified name and version.

SYNTAX
         features:install [options] feature

ARGUMENTS
         feature
                 The name and version of the features to install. A
feature id looks like name/version. The version is optional.

OPTIONS
*        -c, --no-clean*
*                Do not uninstall bundles on failure*
         -r, --no-auto-refresh
                 Do not automatically refresh bundles
         -v, --verbose
                 Explain what is being done
         --help
                 Display this help message
         -s, --no-auto-start
                 Do not automatically start bundles


The option is no more available on Karaf 4.0.4, is there any other way
to force installation of bundles included in a feature?

Thank you,
Cristiano


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to