Hi,

Yes, the feature name is the same. We invoke the installation via JMX and
use this method:

org.apache.karaf.features.internal.management.FeaturesServiceMBeanImpl.installFeature(String,
String, boolean)

Regards

pt., 15 kwi 2022 o 16:30 Jean-Baptiste Onofré <[email protected]> napisał(a):

> Hi Daniel,
>
> I guess the feature name is the same ? Are you using feature:install
> -u (feature:update) or just feature:install ?
>
> Regards
> JB
>
> On Thu, Apr 14, 2022 at 10:05 AM Daniel Las <[email protected]>
> wrote:
> >
> > Hi,
> >
> > We use Karaf features to upgrade our bundles. Is it possible to keep
> only one instance of the bundle included in a feature if a major version
> changes? If the version changes from 1.0.0 to 1.1.0 there is one instance
> left, but when versions changes backward incompatibly, from 1.0.0 to 2.0.0
> both versions are kept. Can this behavior be changed somehow?
> >
> > Regards
> > --
> > Daniel Łaś
> >
>


-- 
Daniel Łaś

Reply via email to