Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9033

Never export conditional packages

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Bundle Parent 36
    • Bundle Parent 37
    • General
    • None

    Description

      By default all versioned packages are exported no matter whether they are conditionalpackages (https://bnd.bndtools.org/instructions/conditionalpackage.html) or not. As conditionalpackages should never be exported the according instruction should be modified to

      -exportcontents: ${removeall;${packages;VERSIONED};${packages;CONDITIONAL}}
      

      This says to export all versioned packages except those which are conditionally added
      (https://github.com/bndtools/bnd/issues/3721#issuecomment-579026778)

      Attachments

        Activity

          People

            kwin Konrad Windszus
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: