Hi Carsten,

On Sat, 2020-08-22 at 14:27 +0200, Carsten Ziegeler wrote:
> Hi,
> 
> I guess it depends on how this support should look like. I would
> assume, 
> that "-V persistence.dir=/data" with your example works and uses
> "/data" 
> for the persistence. It will not use "${sling.home}/data" - not sure
> if 
> that was your intention?

I wanted to achieve both scenarios:

a) if no variable is passed from the CLI, persistence.dir should point
to the resovled value of "sling.home" and "/persistence"
b) if the variable value is overridden, the override should be used

b) works today, but a) does not. I tried to give my problem a bit more
context with an exampe, but I guess I ended up creating confusion :-)

So basically I would like "${sling.home}/repository" to be properly
resolved for variables like it is done for configurations for instance.

Thanks,
Robert

Reply via email to