Yes, I will add direct env variables support for by "easier". Thanks for the update. Regards JB
> Le 9 nov. 2020 à 16:27, Daniel Las <[email protected]> a écrit : > > Hi, > > I made it working by: > > * adding "wrapper.java.additional.[some_number]=-Dvariable=value" line to > etc/karaf-wrapper.conf > * using ${variable} placeholder in <config> block of features.xml file > > It is good enough for me. Thanks again for help. > > Best regards > Daniel Łaś > > > pon., 9 lis 2020 o 14:48 Jean-Baptiste Onofre <[email protected] > <mailto:[email protected]>> napisał(a): > Please, let me know if you have any issue, I will double check. > > Regards > JB > >> Le 9 nov. 2020 à 14:41, Daniel Las <[email protected] >> <mailto:[email protected]>> a écrit : >> >> Thank you very much, that was fast :) >> >> Regards >> Daniel Łaś >> >> >> pon., 9 lis 2020 o 14:26 Jean-Baptiste Onofre <[email protected] >> <mailto:[email protected]>> napisał(a): >> Hi, >> >> You can use ${env…} for instance. >> >> Regards >> JB >> >> > Le 9 nov. 2020 à 14:16, Daniel Las <[email protected] >> > <mailto:[email protected]>> a écrit : >> > >> > Hi, >> > >> > We consider features based deployment in Karaf. Some of our bundles >> > require some paths to be configured. Is there a possibility to use >> > variables placeholders in features.xml? For example: >> > >> > <feature name="service"> >> > <config name="service"> >> > location=${location.from.variable} >> > </config> >> > </feature> >> > >> > where ${location.from.variable} would vary between installations and could >> > be provided via environment variable or some other configuration? >> > >> > Best regards >> > -- >> > Daniel Łaś >> > >> >
