dantran wrote: > > Hello, > > My jar ( spring bundle ) has a default set of configurations via > > > > > > > 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 >
Dan, I hate to be an RTFM kind of guy, but we actually did a write up on how to do this http://karaf.apache.org/manual/2.1.99-SNAPSHOT/users-guide/provisioning.html here . Scroll down to the section on "Configuration", and it should give you the information you're looking for. Please let us know if there's anything else we can do for you. ----- Karafman Slayer of the JEE Pounder of the Perl Programmer -- View this message in context: http://karaf.922171.n3.nabble.com/Override-Spring-s-PropertyPlaceholderConfigurer-with-a-karaf-s-etc-s-config-file-tp2671821p2677306.html Sent from the Karaf - User mailing list archive at Nabble.com.
