The resolver output should give all you need.

The "missing requirement" should be explicit.

The -c option is no more there due to the usage of the features resolver (different approach than before).

What's the missing requirement message ?

Regards
JB

On 05/04/2016 10:22 AM, Cristiano Costantini wrote:
Hi JB,
thanks, I've tried but the option -t but it only report the same error
(i.e. "Error executing command: Unable to resolve root: missing
requirement [root] ....") as when I try to install the feature, leaving
no bundle installed.

If I want to debug more deeply where is the problem, I now need to run
feature:info and install manually each bundle of the feature to find
(with the "haders" command) who is having problem...

The -c option was very useful in this condition and allowed me to
quickly bundles from non working features and finding solutions to the
issues...

Is there any alternative to force installation of the bundles included
in a feature?




Il giorno mer 4 mag 2016 alle ore 10:11 Jean-Baptiste Onofré
<[email protected] <mailto:[email protected]>> ha scritto:

    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] <mailto:[email protected]>
    http://blog.nanthrax.net
    Talend - http://www.talend.com


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

Reply via email to