>>>>> Jean-Baptiste Onofre <[email protected]>:

> Hi Steinar,
> With Karaf 4.3.x, you can now use "implicit" env variable.

> It’s documented here:

> http://karaf.apache.org/manual/latest/#_environment_variables_system_properties
>  
> <http://karaf.apache.org/manual/latest/#_environment_variables_system_properties>

Hm... I read that part yesterday, but didn't understand it...?

> It means you can set features repositories with:

> export 
> ORG_APACHE_KARAF_FEATURES_FEATURESREPOSITORIES='${featuresRepositories},mvn:org.apache.karaf.decanter/apache-karaf-decanter/2.5.0/xml/features'

Ah, I think I understand now: there is a convention for naming
environment variables, so that they can replace any config value?

I.e. take the config value <someConfigValue>, prefix with
ORG_APACHE_KARAF_FEATURES_ and uppercase it, ending up with
ORG_APACHE_KARAF_FEATURES_SOMECONFIGVALUE?

I will try!

Thanks!

Reply via email to