Reputation: 50486
In Karaf there are two files in /etc/config, they are config.properties
and custom.properties
. As I read in config.properties I should override values in custom.properties
. I wish to append to the org.osgi.framework.system.packages.extra
key.
However I don't understand how I can append to this, I can of course completely copy its value across to custom.properties and add a value to it, but then its really big in custom.properties
. In custom.properties
I would like to have something simple like:
org.osgi.framework.system.packages.extra = \
universe.microservice.shared.service
Upvotes: 0
Views: 684
Reputation: 3062
AFAIK, there is no way to append to a value of the key. If there was there should also be a way to "insert" and "remove" values, which is far more complex.
Simply copy the key with it's default values and modify it any way you wish. The fact you have this in separate file (custom.properties
) is a nice way to keep your changes aside. You can always diff
the two files to check what have you changed. This comes very handy when you decide to upgrade in the future.
Upvotes: 1