or
myresolver.resolve(NO_SYSTEM_BUNDLE);
--
View this message in context:
http://apache-felix.18485.x6.nabble.com/Unresolved-dependency-system-bundle-tp5004643p5004832.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
--
After a long search, I finally found a solution.
DataModelHelper datamodel = repoAdmin.getHelper();
...
resolver.add(datamodel.createResource(systembundle));
...
resolver.resolve();
--
View this message in context:
http://apache-felix.18485.x6.nabble.com/Unresolved-dependency-system-bundle
My first shot in the dark is like this:
...
Collection capabilities =
bundle.adapt(BundleRevision.class).getCapabilities(null);
for(org.osgi.resource.Capability capability : capabilities) {
CapabilityImpl cap = new
CapabilityImpl(capability.getNamespa
I just realized that there is a third class with the same name. I'm totally
confused!
org.osgi.service.obr.Capability
--
View this message in context:
http://apache-felix.18485.x6.nabble.com/Unresolved-dependency-system-bundle-tp5004643p5004651.html
Sent from the Apache Felix - Users mailing li
ok...in the class "ConvertedResource" line 41 I found following code:
...
// convert capabilities
org.osgi.service.obr.Capability[] c = resource.getCapabilities();
if (c != null) {
capabilities = new Capability[c.length];
for (int i = 0; i < c.length
Is there already a wrapper for both classes?
--
View this message in context:
http://apache-felix.18485.x6.nabble.com/Unresolved-dependency-system-bundle-tp5004643p5004646.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
--
To avoid confusion, one class should be renamed.
--
View this message in context:
http://apache-felix.18485.x6.nabble.com/Unresolved-dependency-system-bundle-tp5004643p5004644.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
--
Hello OSGi-experts,
I have an OBR including my Felix-launcher (systembundle) and some other
bundles. My Felix-Launcher loads the OBR and deploys the bundles. To take
care that the systembundle is not deployed for a second time I have to
exclude the Felix-launcher in the OBR before I deploy all othe
8 matches
Mail list logo