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/09/04 15:05:00 UTC

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

    [ https://issues.apache.org/jira/browse/SLING-9684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17190765#comment-17190765 ] 

Robert Munteanu commented on SLING-9684:
----------------------------------------

PR is at https://github.com/apache/sling-org-apache-sling-feature/pull/20

> 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
>            Assignee: Robert Munteanu
>            Priority: Major
>             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)