I would like to use a system var in the file name. If it is not
specified an environment var should be used as fallback.
I tried
1) fileName="${sys:valueA:-env:valueB}/foo.log"
2) fileName="${sys:valueA:-${env:valueB}}/foo.log"
3) <Properties>
<Property name="valueA">${env:valueB}</Property>
</Properties>
fileName="${sys:valueA}foo.log"
None of them worked.
Is there any way to achieve this?
Thanks,
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]