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

Launchpad Loader uses fragile file timestamp comparison to update launcher jar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Launchpad Base 2.1.0
    • Launchpad Base 2.2.0
    • Launchpad
    • None

    Description

      If the timestamp of the org.apache.sling.launchpad.base.jar file in the sling home folder is set in the future by mistake (like happens sometimes when copying/restoring the file), the Sling Loader will not upgrade it anymore, even if it has a more recent version.

      As that launcher jar is built as a bundle, we should use the bundle's Bnd-LastModified header (or even the full version number) to decide whether to update the launcher jar.

      Attachments

        Issue Links

          Activity

            People

              bdelacretaz Bertrand Delacretaz
              bdelacretaz Bertrand Delacretaz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: