Hello,

My jar ( spring bundle ) has a default set of configurations via

  <bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property name="systemPropertiesModeName"
value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
    <property name="location" value="classpath:com/.../resources.properties" />
  </bean>

This way I  can override the default properties using system
properties ( ie pass in -Dxuy=value to JVM )

Now I'd like to deploy my bundle  to Karaf, is there a way for me to
setup Karaf/osgi's configAdmin to to use a config file under karaf's
etc directory to override my default properties?

Big thanks ahead.

-Dan

Reply via email to