Hi, I've been experimenting with referencing configuration key-values pair in my own feature file. I would like to be able to update config data when deploying a new version of a feature (uninstalling old feature version first if required).
I've tried a few approaches - copying a .cfg file into Karaf's /etc dir, putting <config> tags in my feature XML, and referencing a .cfg maven artefact in my feature. Using the console config commands, I seem to see a feature's config data persisting after the feature is uninstalled. I'm guessing this then causes updated config data to not be picked up when I subsequently install a new version of the feature. When I either manually deploy a .cfg file in /etc or reference a maven config artefact which results in a local file being created (but not removed after feature uninstall), deleting the local cfg file does remove the config data. Is this a bug or expected behaviour? Thanks, Simon. -- View this message in context: http://karaf.922171.n3.nabble.com/Can-config-values-be-updated-when-installing-a-new-feature-version-tp4032653.html Sent from the Karaf - User mailing list archive at Nabble.com.
