Re: Features with conditional requirements

2017-07-12 Thread jeremie.bre...@gmail.com
> > https://github.com/apache/karaf/tree/master/features/core/src/test/resources/org/apache/karaf/features/internal/region/data5 > > > > > 2017-07-12 14:47 GMT+02:00 jeremie.bre...@gmail.com < > jeremie.bre...@gmail.com>: > > > Hello, > > > > I am

Features with conditional requirements

2017-07-12 Thread jeremie.bre...@gmail.com
Hello, I am playing with conditionals features, but I am not able to do what I want. I have theses features (with Karaf 4.1.1 ): req:component.service.faultmanagement mvn:MyUIBundle ... component.service.faultmanagement When I install "ui" and "faultmanagement",

config file and "multiple bundle locations"

2017-07-05 Thread jeremie.bre...@gmail.com
Hello, I want to share a configuration between several bundles (a "cfg" file in etc), through several "Declarative Services" components. The OSGi Spec says that, in order to share a Configuration, the pid must starts with a question mark. Without this question mark, the Configuration is bound

Re: Conditional Features and capabilities

2017-06-29 Thread jeremie.bre...@gmail.com
blob/master/assemblies/features/standard/src/main/feature/feature.xml#L267 > > Guillaume > > 2017-06-29 14:55 GMT+02:00 jeremie.bre...@gmail.com < > jeremie.bre...@gmail.com>: > > > Hi, > > > > I have two features implementing the same capability (and I can o

Conditional Features and capabilities

2017-06-29 Thread jeremie.bre...@gmail.com
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