Hi, Is there any way changing the startlevel of bundles from partial bundle lists can be done (without changing the partial bundle list) of shall I open an issue for this feature?
Cheers, Reto On Wed, Jul 18, 2012 at 10:05 PM, Reto Bachmann-Gmür <[email protected]>wrote: > Hi, > > As the other options seem t fail I think I have to fail back to the > fiddling with the startlevels variant > > On Mon, Jul 16, 2012 at 2:58 AM, Carsten Ziegeler <[email protected]>wrote: > >> Using the Sling >> installer, put it into a sub folder with the start level as the folder >> name, or if you use the bundle list, create a section with the start >> level. >> > > As the bundles that need to get a new start-level are part of partial > bundle lists I think I should change the levels with rules. Any > hint/example on how I could do this? I already pasted what I've tried > > > > > > rule "increase stanbol level" > > > > when > > $bundleList : BundleList() > > $startLevel : StartLevel() from $bundleList.startLevels > > $bundle : Bundle(groupId == "org.apache.stanbol") > > from $startLevel.bundles > > then > > System.out.println("increasing:" + $bundle.getArtifactId()+" > > original: "+$bundle.getStartLevel()); > > $bundle.setStartLevel($bundle.getStartLevel()+10); > > > > end > > Cheers, > Reto >
