ok, thanks. I seem to have a different issue, which I didn't notice, sorry.
We want to have two configfiles for our bundle (a common and specific one).
So in the features.xml we have:
<configfile finalname="etc/${project.artifactId}.cfg"
override="true">mvn:${project.groupId}/${project.artifactId}/${project.version}/cfg/development</configfile>
<configfile finalname="etc/MspEtgCommon.cfg"
override="true">mvn:${project.groupId}/MspEtgCommon/${project.version}/cfg/development</configfile>
But the bundle only gets notified about changes in its own config file.
Can I register two config files with
registerService(ManagedService.class.getName(), new ConfigUpdater() ,
properties);
Regards,
Laci
On 26.06.2014 14:02, Achim Nierbeck wrote:
No, and it actually shouldn't matter since the service in your bundle
will be re-configured the minute a new configuration is present.
regards, Achim
2014-06-26 13:54 GMT+02:00 Laci Gaspar <[email protected]
<mailto:[email protected]>>:
Hi
A question about the load sequence of karaf 2.3.3:
1.
I have a feature.xml:
<configfile finalname="etc/MspEtgCommon.cfg"
override="true">mvn:${project.groupId}/MspEtgCommon/${project.version}/cfg/development</configfile>
<bundle>mvn:ch.curabill.msp.etg/MspEtgCommon/${project.version}</bundle>
<bundle>mvn:ch.curabill.msp.commons/MspCommons/${project.version}</bundle>
<bundle>mvn:${project.groupId}/${project.artifactId}/${project.version}</bundle>
When I install the feature, the bundle MspCommons starts before
the Config file etc/MspEtgCommon.cfg is present. Can I force karaf
to do it the other way round?
Thanks.
Regards
Laci
--
Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
Committer & Project Lead
blog <http://notizblog.nierbeck.de/>
Software Architect / Project Manager / Scrum Master