Bengt
Thank you for picking this up - yes system property, same problem
with non-system property - works ok. I will try to dig into this.
Andrei
-------- Original Message --------
Subject: Re: support recursive variable substitution in properties?
From: Bengt Rodehav <[email protected]>
To: [email protected]
Date: Fri 24 Aug 2012 01:17:25 AM CDT
> If the variable you are trying to use is a system property, then we
> have the same problem. I created a JIRA for this a while back:
>
> https://issues.apache.org/jira/browse/KARAF-1152
>
> I did however, believe that using already defined variables should
> work (provided that they have alredy been defined of course).
>
> /Bengt
>
>
> 2012/8/22 Jean-Baptiste Onofré <[email protected] <mailto:[email protected]>>
>
> It depends where. If you take a look in jre.properties, you will
> see variables in.
>
> It should work. By "does not work", you mean that you have an
> exception, or the property doesn't include the variable value
> (maybe a order issue depending where you put the variable first) ?
>
> Regards
> JB
>
> On 08/22/2012 09:11 PM, Andrei Pozolotin wrote:
>
> *Hi*
>
>
> the following does not work, when placed in custom.properties:
>
> org.osgi.framework.system.packages.extra =
> org.apache.karaf.branding;
> ${org.osgi.framework.system.packages.extra}
>
> I am curious if karaf should support recursive variable
> substitution?
>
> Thank you,
>
> Andrei
>
>
> --
> Jean-Baptiste Onofré
> [email protected] <mailto:[email protected]>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>