Thanks JB, This bundle does not provide any capabilities.
Below the bundle's manifest. Manifest-Version: 1.0 Bnd-LastModified: 1467470313061 Build-Jdk: 1.8.0_92 Built-By: erwin Bundle-Activator: my.dvr.simulator.Activator Bundle-Description: Simulates the DVR. Bundle-ManifestVersion: 2 Bundle-Name: DVR Simulator Bundle-SymbolicName: my.driver.dvr.xtralis.simulator Bundle-Version: 4.0.0.SNAPSHOT_buildDateTime Created-By: Apache Maven Bundle Plugin Export-Package: my.dvr.simulator;version="4.0.0.SNAPSHOT_bu ildDateTime" Import-Package: my.core.comm;version="[4.0,5)",org.apache.c ommons.logging,org.osgi.framework;version="1.6.0",org.osgi.service.cm;v ersion="1.2.0",org.osgi.service.event;version="1.2.0",my.c ore;version="[4.0,5)" Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.7))" Tool: Bnd-2.3.0.201405100607 Regards, Erwin > On Jul 2, 2016, at 15:19, Jean-Baptiste Onofré <[email protected]> wrote: > > Hi Erwin, > > In Karaf 4, the feature resolver can start a bundle anyway if it provides a > capability required by another bundle or feature. > > It would be the case. What's your req/cap in the feature ? > > Regards > JB > > On 07/02/2016 05:48 PM, Erwin Hogeweg wrote: >> Hi, >> >> I believe I am missing something here. I mark a bundle start as false: >> >> <bundle start-level="41" >> start="false">mvn:<theBundle_groupId>/<theBunlde_artifactId/${theBundle.version}</bundle> >> >> But when it is loaded in karaf it is still active: >> >> 66 | Active | 41 | 4.0.0.SNAPSHOT_buildDateTime | Test Simulator >> >> I set the start level to 41 to make sure I am picking up the right >> feature version. There are no dependencies on this bundle. >> >> Is there anything else I need to do? I checked the manual, but I didn’t >> see it. >> >> >> Thanks, >> >> Erwin >> > > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com
