karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Using system properties in config.properties
Date Thu, 12 Jan 2012 07:03:58 GMT
Hi Bengt,

you should be able to use ${karaf.home} and ${karaf.base} variables.

Is it OK for you ?

Regards
JB

On 01/11/2012 08:36 PM, Bengt Rodehav wrote:
> I'm using Karaf 2.2.5 and the new possibility to specify ${optionals} in
> config.properties. It's a great functionality which allows our clients
> to optionally override the configuration that is part of our custom
> distribution.
>
> I now have another request. Currently I have this line in my
> config.properties:
>
> ${optionals} =  ../../../common/etc/custom.properties
>
> This works in a fixed directory hierarchy. I would like to be able to
> use system properties when definining the location of my
> custom.properties, like this:
>
> ${optionals} =  ${commondir}/etc/custom.properties
>
> Currently this is not possible. Can I create a JIRA for this or is there
> another way I can accomplish this?
>
> /Bengt
>
>

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

Mime
View raw message