Thanks !

On 2017-06-29 14:57 (+0200), Guillaume Nodet <[email protected]> wrote: 
> Actually, requirements are supported in conditionals.
> You need to prepend "req:" in front of the requirement, see the following
> example:
> 
> https://github.com/apache/karaf/blob/master/assemblies/features/standard/src/main/feature/feature.xml#L267
> 
> Guillaume
> 
> 2017-06-29 14:55 GMT+02:00 [email protected] <
> [email protected]>:
> 
> > Hi,
> >
> > I have two features implementing the same capability (and I can only
> > install one of both - For example a capability "database" and two features,
> > "derby" and "H2").
> >
> > I have also a third feature, "web-user-interface", and I want that, when
> > this feature and the capability defined earler are installed, then another
> > set of bundles are automatically installed.
> >
> > The "conditional" in the features.xml seems to allow this kind of
> > behavior, but it looks like I can only specified a feature as a dependency,
> > and not a capability.
> >
> > How can I implement this scenario with Karaf 4.1?
> >
> > Regards,Jérémie
> >
> 
> 
> 
> -- 
> ------------------------
> Guillaume Nodet
> 

Reply via email to