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

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open In Progress In Progress
          94d 1h 36m 1 Felix Meschberger 29/Jan/09 12:30
          In Progress In Progress Closed Closed
          67d 23h 29m 1 Felix Meschberger 07/Apr/09 11:59
          Gavin made changes -
          Workflow re-open possible,doc-test-required [ 12787487 ] no-reopen-closed,doc-test-required [ 12790382 ]
          Gavin made changes -
          Workflow no-reopen-closed,doc-test-required [ 12765625 ] re-open possible,doc-test-required [ 12787487 ]
          Gavin made changes -
          Workflow Copy of no-reopen-closed,doc-test-required [ 12763663 ] no-reopen-closed,doc-test-required [ 12765625 ]
          Gavin made changes -
          Workflow no-reopen-closed,doc-test-required [ 12476000 ] Copy of no-reopen-closed,doc-test-required [ 12763663 ]
          Felix Meschberger made changes -
          Component/s Launchpad [ 12312146 ]
          Component/s Launchpad Launcher [ 12311947 ]
          Felix Meschberger made changes -
          Workflow jira [ 12445063 ] no-reopen-closed,doc-test-required [ 12476000 ]
          Felix Meschberger made changes -
          Status In Progress [ 3 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          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
          Felix Meschberger made changes -
          Link This issue is duplicated by SLING-771 [ SLING-771 ]
          Felix Meschberger made changes -
          Link This issue blocks SLING-771 [ SLING-771 ]
          Felix Meschberger made changes -
          Component/s Launchpad Launcher [ 12311947 ]
          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).
          Felix Meschberger made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Felix Meschberger made changes -
          Fix Version/s Launchpad Base 2.0.4 [ 12313368 ]
          Assignee Felix Meschberger [ fmeschbe ]
          Bertrand Delacretaz made changes -
          Link This issue blocks SLING-771 [ SLING-771 ]
          Felix Meschberger made changes -
          Field Original Value New Value
          Attachment SLING-712.patch [ 12392859 ]
          Hide
          Felix Meschberger added a comment -

          Tentative patch against Rev. 708131

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development