Re: Karaf: feature satisfy requirements

2017-02-06 Thread Markus Rathgeb
>> Should I create a Jira + PR if it is working? > Sure, but it would be interesting to do a complete pass on the services > provided by each framework for completeness. You could have a look at: https://issues.apache.org/jira/browse/KARAF-4980

Re: Karaf: feature satisfy requirements

2017-02-06 Thread Guillaume Nodet
2017-02-06 9:49 GMT+01:00 Markus Rathgeb : > That looks good, thanks a lot. > > Do you think this is something others are interested in? > Should I create a Jira + PR if it is working? > Sure, but it would be interesting to do a complete pass on the services provided by each

Re: Karaf: feature satisfy requirements

2017-02-06 Thread Markus Rathgeb
That looks good, thanks a lot. Do you think this is something others are interested in? Should I create a Jira + PR if it is working? 2017-02-06 9:21 GMT+01:00 Guillaume Nodet : > The best option is to: > * fix the system bundle capabilities > * use a dependency feature as

Re: Karaf: feature satisfy requirements

2017-02-06 Thread Guillaume Nodet
The best option is to: * fix the system bundle capabilities * use a dependency feature as you did To fix the system bundle capabilities, depending on the framework used, you can do something along the following: org.osgi.framework.system.capabilities=\ ...\ ${${framework}-capabilities}

Re: Karaf: feature satisfy requirements

2017-02-06 Thread Markus Rathgeb
Hi Guillaume, thank you for your reply. In this special case it is about an implementation for "javax.xml.parsers.SAXParserFactory" and a service for that. The bundle "org.eclipse.equinox.registry" (I need to use to satisfy third party dependencies) is using a tracker to find an implementation

Re: Karaf: feature satisfy requirements

2017-02-05 Thread Guillaume Nodet
You can modify the etc/config.properties file, in particular the org.osgi.framework.system.capabilities configuration. If some service are provided by default by the framework and are missing, you may want to raise a JIRA issue and provide a patch / pull request. 2017-02-05 12:05 GMT+01:00

Re: Karaf: feature satisfy requirements

2017-02-05 Thread Markus Rathgeb
Ah, okay, I assume it is caused by the missing Provide-Capability of the Equinox bundle that it provides that service. Could this information be added by some configuration file without modify the Equinox bundle itself? 2017-02-05 11:49 GMT+01:00 Markus Rathgeb : > Hello, > >