Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-576

introduce start-level attribute for feature element in features.xml

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.1, 3.0.0
    • None
    • None

    Description

      currently we can specify start-level for a certain bundle in features.xml, in some case we want to specify all bundles in a certain feature with a certain startlevel, to avoid adding start-level for each bundle, we can introduce start-level attribute for feature element, so that each bundle have the start-level specified for hosted feature by default, it a bundle has start-level also, then it will override the one from hosted feature.
      For example,
      <feature name='myfeature' start-level="50">
      <bundle start-level="55">bundleA</bundle>
      <bundle>bundleB</bundle>
      <bundle>bundleC</bundle>
      </feature>

      then bundleA should have startlevel 55, bundleB and bundleC have startlevel 50 from the hosted myfeature.

      Attachments

        Issue Links

          Activity

            People

              ffang Freeman Yue Fang
              ffang Freeman Yue Fang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: