Hi, First, if start-level is supported, you should think about your bundle. If your bundles NEED an order, that's probably something wrong.
Anyway, the features XML is something you provide, and you add into Karaf (using feature:repo-add). On the other hand, you can also add your bundle (with start level) in etc/startup.properties. Regards JB On 05/11/2019 15:28, Kirti Arora wrote: > Hi Duan, > > Thanks for the reply. > Yes, I saw this approach. Can you please tell me the location of the > feature xml file or where can I define the features? > > Thanks, > Kirti Arora > > On Tue, Nov 5, 2019 at 4:11 PM duan2ping <[email protected] > <mailto:[email protected]>> wrote: > > Hi Kirti Arora! > > You can look at the features in karaf.Define a set of Bundles as > follows and > configure start-level based on their dependencies, then use > feature:install > xxx.xml to install a feature.Hope this helps you! > > <feature name="my-project" version="1.0.0"> > <bundle > start-level="80">mvn:com.mycompany.myproject/myproject-dao</bundle> > <bundle > start-level="85">mvn:com.mycompany.myproject/myproject-service</bundle> > </feature> > > Regards > duan > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
