Re: Features with conditional requirements

2017-07-12 Thread jeremie.bre...@gmail.com
Thanks to your help, I could reproduce my issue : the bundles in my had missing requirements. In this case, the conditional is not installed, without errors. Fixing the missing imports have resolved my issue. On 2017-07-12 15:20 (+0200), Guillaume Nodet wrote: > The best

Re: Features with conditional requirements

2017-07-12 Thread Guillaume Nodet
The best way is to produce a unit test with a minimal set of features / bundles. You can see such a test here: https://github.com/apache/karaf/blob/master/features/core/src/test/java/org/apache/karaf/features/internal/region/SubsystemTest.java#L191-L210 with the data:

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",