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

Add control over variable replacement in feature models

    XMLWordPrintableJSON

    Details

      Description

      When a project feature model is read, a variable replacement based on the maven project is performed over the whole feature text file
      While the initial idea was to support "project.*" variables in the "id" of the feature, it ended up as a way too flexible replacement mechanism
      Variables are replaced in an unpredictable way, especially as also system properties are used for replacement - which might result in having a different replacement on different builds.

      We should limit the replacement to the feature id - and only support "project." variables there - and to a *configured set of properties.

        Attachments

          Activity

            People

            • Assignee:
              cziegeler Carsten Ziegeler
              Reporter:
              cziegeler Carsten Ziegeler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: