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

force upgrading of SNAPSHOT bundles from inside app/webapp resources directory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Launchpad Base 2.0.4
    • Launchpad Base 2.1.0
    • Launchpad
    • None

    Description

      If a bundle file in WEB-INF/resources/bundles (in a webapp) or resources/bundles (in a standalone app) is a SNAPSHOT, the bundle should be upgraded if it is already installed and the versions match.

      This doesn't work consistently because isAlreadyInstalled() doesn't detect changes to bundles in an exploded webapp (e.g. with mvn jetty:run); you have to touch the launcher jar file to force the upgrade check to happen.

      I didn't come up with a good way to test this functionality. Open to suggestions...

      Attachments

        1. SLING-1162.patch
          2 kB
          Justin Edelson
        2. SLING-1162-corrected.patch
          2 kB
          Justin Edelson

        Activity

          People

            fmeschbe Felix Meschberger
            justinedelson Justin Edelson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: