>>>>> Mike Hummel <[email protected]>:

> Hi,
> thank you for this line

> ${env:JDBC_DRIVER_FEATURE:-postgresql} \

> So it is be possible to use env directly.

Yep. And "-postgresql" means that it defaults to the string "postgresql"
when the environment variable isn't set.

Note in the other file that I dropped defaults for JDBC username and
password, to make it possible to have empty username and password
(eg. h2, that I tested with, has "sa" as the default username with no
password).

See this for more info:
 
https://svn.apache.org/repos/asf/karaf/site/production/manual/latest/configuration.html#_files

Reply via email to