You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Matthieu Vincent <mv...@gmail.com> on 2013/10/07 10:42:15 UTC

Using environment variable in cfg file

Hi

  I'd like to know if it's possible to reference an environment variable in
a cfg file in etc directory ?

Thanks

Matthieu

Re: Using environment variable in cfg file

Posted by Matthieu Vincent <mv...@gmail.com>.
Hi JB,

 thanks for reply. I use blueprint. I finally make it works : defining a
variable %APP_HOME%, I can use it like this ${app.home} in my cfg and it
works like a charm.

Problem solved !
Rgs,
Mat


2013/10/7 Jean-Baptiste Onofré <jb...@nanthrax.net>

> Hi Mathieu,
>
> if you use blueprint-cm and blueprint-ext, yes.
>
> Regards
> JB
>
>
> On 10/07/2013 10:42 AM, Matthieu Vincent wrote:
>
>> Hi
>>
>>    I'd like to know if it's possible to reference an environment
>> variable in a cfg file in etc directory ?
>>
>> Thanks
>>
>> Matthieu
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Re: Using environment variable in cfg file

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Mathieu,

if you use blueprint-cm and blueprint-ext, yes.

Regards
JB

On 10/07/2013 10:42 AM, Matthieu Vincent wrote:
> Hi
>
>    I'd like to know if it's possible to reference an environment
> variable in a cfg file in etc directory ?
>
> Thanks
>
> Matthieu

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com