Re: Placing properties files in the classpath

2015-10-15 Thread yodamad
Hi, thank you for this answer, you save my day. Just a little mistake in your sample : urer*"> -- View this message in context:

Re: Placing properties files in the classpath

2011-01-19 Thread karafman
There appears to be an issue when reading in multiple .cfg files and exposing them using ctx:property-placeholder in Karaf using SpringDM. Consider the following which only exposes myAppProperties, but not myBundleSpecificProperties: osgix:cm-properties id=myAppProperties

Re: Placing properties files in the classpath

2010-12-09 Thread Guillaume Nodet
Right, using ConfigAdmin is the way to go in OSGi. If you use blueprint for example, you just have to define a specific proprty placeholder and it's really easy to use. On Thursday, December 9, 2010, Freeman Fang freeman.f...@gmail.com wrote: Hi, You can put properties in $KARAF_HOME/etc

RE: Placing properties files in the classpath

2010-12-09 Thread Łukasz Dywicki
, 2010 9:42 PM To: user@karaf.apache.org Subject: RE: Placing properties files in the classpath In those cases, where does OSGi look to find the properties? And, what are the property file names? Mike Van -- View this message in context: http://karaf.922171.n3.nabble.com/Placing-properties-files

Re: Placing properties files in the classpath

2010-12-09 Thread Mike Van
- From: Łukasz Dywicki [via Karaf] ml-node+2060078-1778899901-228...@n3.nabble.com To: Mike Van mvangeert...@comcast.net Sent: Thursday, December 9, 2010 3:58:32 PM Subject: RE: Placing properties files in the classpath It depends on the configuration admin. Karaf uses etc directory

RE: Placing properties files in the classpath

2010-12-09 Thread Łukasz Dywicki
Van [mailto:mvangeert...@comcast.net] Sent: Thursday, December 09, 2010 10:03 PM To: user@karaf.apache.org Subject: Re: Placing properties files in the classpath Ok. If I have 4 bundles that all use JMS, and they are named: myApp.bundle1 myApp.bundle2 myApp.bundle3 myApp.bundle4

Re: Placing properties files in the classpath

2010-12-09 Thread Mike Van
-309240584-228...@n3.nabble.com To: Mike Van mvangeert...@comcast.net Sent: Thursday, December 9, 2010 4:06:15 PM Subject: RE: Placing properties files in the classpath No, These bundles may reffer same persistent id (configuration file) without problems. In fact - you may introduce new bundle which

Re: Placing properties files in the classpath

2010-12-09 Thread Guillaume Nodet
with myApp? - Original Message - From: Łukasz Dywicki [via Karaf] ml-node+2060113-309240584-228...@n3.nabble.com To: Mike Van mvangeert...@comcast.net Sent: Thursday, December 9, 2010 4:06:15 PM Subject: RE: Placing properties files in the classpath No, These bundles may reffer