You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (Jira)" <ji...@apache.org> on 2020/08/24 11:09:00 UTC

[jira] [Created] (SLING-9684) Support resolving variables within variables

Robert Munteanu created SLING-9684:
--------------------------------------

             Summary: Support resolving variables within variables
                 Key: SLING-9684
                 URL: https://issues.apache.org/jira/browse/SLING-9684
             Project: Sling
          Issue Type: Improvement
          Components: Feature Model
            Reporter: Robert Munteanu
             Fix For: Feature Model 1.2.8


It would be very useful to support resolving variables withing other variables, just like we do in configuration values and framework properties, e.g. if "sling.home" is a variable pointing to "/work", I should be able to define

{code}
{
  "variables": {
    "data.home": "${sling.home}/data"
  }
}
{code}

and have "data.home" resolve to "/work/data".



--
This message was sent by Atlassian Jira
(v8.3.4#803005)