Hi,
thank you for this answer, you save my day.
Just a little mistake in your sample :
urer*">
--
View this message in context:
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
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
, 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
-
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
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
-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
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