Sling
  1. Sling
  2. SLING-712

Adapt Sling Launcher code to new Felix framework launcher mechanism

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Launchpad Base 2.0.2
    • Fix Version/s: Launchpad Base 2.0.4
    • Component/s: Launchpad
    • Labels:
      None

      Description

      The Felix framework has modified the launcher mechanism since the 1.0.4 release. As soon as we updated to a more recent Felix framework version, most probably 1.4.0, we also have to update the launcher code to integrate with Felix.

      1. SLING-712.patch
        18 kB
        Felix Meschberger

        Issue Links

          Activity

          Hide
          Felix Meschberger added a comment -

          Closing this after upgrading to Felix Framework 1.6.0

          Show
          Felix Meschberger added a comment - Closing this after upgrading to Felix Framework 1.6.0
          Hide
          Felix Meschberger added a comment -

          Felix Framework 1.6.0 has hit the streets, so I updated our launchpad/base module to refer to it officially in Rev. 762719

          Show
          Felix Meschberger added a comment - Felix Framework 1.6.0 has hit the streets, so I updated our launchpad/base module to refer to it officially in Rev. 762719
          Hide
          Felix Meschberger added a comment -

          Upgraded the base launcher to Felix Framewrok 1.4.1 in Rev. 738835

          This upgrade requires some changes to internal workings and some changes to properties.

          The felix.cache.profiledir property is now replaced by the org.osgi.framework.storage property and the felix.startlevel.framework property is replaced by the org.osgi.framework.startlevel property. If the sling.properties file still contains either of the old properties, the propery is migrated to the new name and written to the sling.properties file again.

          In addition, the osgi-core-packages and osgi-compendium-packages properties are modified to accommodate the added (or modified) API. To enable replacing any existing osgi-core-packages and osgi-compendium-packages properties in the sling.properties file, the launcher JAR contains the sling.osgi-core-packages and sling.osgi-compendium-packages properties, which will replace the existing properties of the same name (without the "sling." prefix).

          Show
          Felix Meschberger added a comment - Upgraded the base launcher to Felix Framewrok 1.4.1 in Rev. 738835 This upgrade requires some changes to internal workings and some changes to properties. The felix.cache.profiledir property is now replaced by the org.osgi.framework.storage property and the felix.startlevel.framework property is replaced by the org.osgi.framework.startlevel property. If the sling.properties file still contains either of the old properties, the propery is migrated to the new name and written to the sling.properties file again. In addition, the osgi-core-packages and osgi-compendium-packages properties are modified to accommodate the added (or modified) API. To enable replacing any existing osgi-core-packages and osgi-compendium-packages properties in the sling.properties file, the launcher JAR contains the sling.osgi-core-packages and sling.osgi-compendium-packages properties, which will replace the existing properties of the same name (without the "sling." prefix).
          Hide
          Felix Meschberger added a comment -

          Tentative patch against Rev. 708131

          Show
          Felix Meschberger added a comment - Tentative patch against Rev. 708131

            People

            • Assignee:
              Felix Meschberger
              Reporter:
              Felix Meschberger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development