sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Pauls (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SLING-8167) Using sling.home as a variable leads to runtime errors
Date Fri, 07 Dec 2018 13:13:00 GMT

     [ https://issues.apache.org/jira/browse/SLING-8167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Karl Pauls updated SLING-8167:
------------------------------
    Fix Version/s: slingfeature-maven-plugin 0.8.2

> Using sling.home as a variable leads to runtime errors
> ------------------------------------------------------
>
>                 Key: SLING-8167
>                 URL: https://issues.apache.org/jira/browse/SLING-8167
>             Project: Sling
>          Issue Type: Bug
>          Components: Feature Model
>    Affects Versions: slingfeature-maven-plugin 0.8.0
>            Reporter: Robert Munteanu
>            Priority: Major
>             Fix For: slingfeature-maven-plugin 0.8.2
>
>
> I tried using ${sling.home} as a variable but replacement did not work and ended up failing
at runtime when the property was used to try and create a directory, e.g. - failed creating
directory "/${sling.home}/foo".
> I was able to work around by declaring a ${sling.home}: null variable but I wonder whether
we can have better handling of such scenarios.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message