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

Handle framework properties after the feature is processed

    XMLWordPrintableJSON

Details

    Description

      https://github.com/apache/sling-org-apache-sling-feature-launcher/pull/15

       

      OSGi properties are being handled before Installation#getFrameworkProperties() is populated by parsing the Feature files using FeatureProcessor#prepareLauncher().

      E.g. specifying framework properties such as org.osgi.framework.startlevel.beginning and org.osgi.framework.storage in feature.json file has no effect, the default values are used. These properties should be read from the feature

       

      In the prepare() method installation.getFrameworkProperties() is empty.

      The duplicate code exists in the run() method, which is correct.

      Attachments

        1. 108997486-f0659980-769f-11eb-8cd4-db3f84f1b797.png
          92 kB
          Muzaffar Nurmukhammadov
        2. Capture.PNG
          59 kB
          Muzaffar Nurmukhammadov

        Issue Links

          Activity

            People

              cziegeler Carsten Ziegeler
              NMuzaffar Muzaffar Nurmukhammadov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: