Hi Sana, 1; resolver="(obr)"
Obr means OSGi Bundle Repository and has two major goal a: To simplify deploying b: Manage dependency for more Info please use -> http://www.slideshare.net/mfrancis/how-to-simplify-osgi-development-using-obr-peter-kriens -> http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html all features should add resolver='(obr)', so that obr resolver can kick in, cause that won't install redundant bundles 2: dependency="true" Dependency flaged as true means that dipendency is installated only if there is dependencies on such a bundle. Please check http://grokbase.com/t/servicemix/dev/133s1jvnv9/jira-assigned-sm-2179-cant-install-camel-cxf-feature there is a very good explanation with example from Freeman. 3: start-level="30" set start level of a given bundle / feature. Container configuration is define in config.properties with the entry karaf.startlevel.bundle. For more info please check out http://karaf.apache.org/manual/latest-2.x/users-guide/provisioning.html paragraph Bundle start-level Regards --Filippo 2014-10-24 22:33 GMT+02:00 Sana <[email protected]>: > Hi, > > I want to understand why and when do we use the following: > 1) resolver="(obr)" > 2) dependency="true" > 3) start-level="30" > > It works without specifying these. Can some one explain me why and when to > use it? > > <feature name="spring-dm" description="Spring DM support" version="1.2.1" > resolver="(obr)"> > <feature version="[2.5.6,4)">spring</feature> > <bundle dependency="true" > start-level="30">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.cglib/2.2.2_1</bundle> > <bundle > start-level="30">mvn:org.springframework.osgi/spring-osgi-io/1.2.1</bundle> > <bundle > start-level="30">mvn:org.springframework.osgi/spring-osgi-core/1.2.1</bundle> > <bundle > start-level="30">mvn:org.springframework.osgi/spring-osgi-extender/1.2.1</bundle> > <bundle > start-level="30">mvn:org.springframework.osgi/spring-osgi-annotation/1.2.1</bundle> > <bundle > start-level="30">mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.spring/2.3.0.redhat-610379</bundle> > </feature> > > > Thanks! > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/plz-explain-tp5721802.html > Sent from the ServiceMix - User mailing list archive at Nabble.com.
