Still didn’t work. Maybe I am running the wrong version? These are the versions of the jar I see under system/org/apache/aries/blueprint directory of Karaf.
org.apache.aries.blueprint.api-1.0.1.jar org.apache.aries.blueprint.cm-1.0.7.jar org.apache.aries.blueprint.core-1.4.5.jar org.apache.aries.blueprint.core.compatibility-1.0.0.jar Best regards, Alex soto > On Sep 1, 2016, at 2:53 PM, Christian Lutz <[email protected]> wrote: > > Hello Alex, > > I did use the same, but in my case I had to update the version of the schemas > to. > > http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.3.0 > <http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.3.0> > and > http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.5.0 > <http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.5.0> > > > - christian > > >> Am 01.09.2016 um 20:47 schrieb Alex Soto <[email protected] >> <mailto:[email protected]>>: >> >> No, I checked. This is still in integration test mode, with Pax-Exam, so the >> directory does not yet have any cfg files other than Karaf’s own. >> >> Best regards, >> Alex soto >> >> >> >>> On Sep 1, 2016, at 2:12 PM, Guillaume Nodet <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> Are you sure you don't have this value coming from the configuration in >>> etc/my.config.id.cfg or something like that ? >>> We had such a pattern in multiple places in Karaf 2.x and it was working >>> fine. >>> >>> 2016-09-01 19:45 GMT+02:00 Alex Soto <[email protected] >>> <mailto:[email protected]>>: >>> Hello, I have a blueprint bundle defined as: >>> >>> <blueprint >>> xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0 >>> <http://www.osgi.org/xmlns/blueprint/v1.0.0>" >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance >>> <http://www.w3.org/2001/XMLSchema-instance>" >>> xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0 >>> <http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0>" >>> xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0 >>> <http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0>" >>> xsi:schemaLocation=" >>> http://www.osgi.org/xmlns/blueprint/v1.0.0 >>> <http://www.osgi.org/xmlns/blueprint/v1.0.0> >>> https://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd >>> <https://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd>"> >>> >>> <ext:property-placeholder placeholder-prefix="$[" >>> placeholder-suffix="]" /> >>> >>> <cm:property-placeholder persistent-id="my.config.id >>> <http://my.config.id/>" update-strategy="reload" placeholder-prefix="#{" >>> placeholder-suffix="}"> >>> <cm:default-properties> >>> <cm:property name="my.file.name <http://my.file.name/>" >>> value="$[user.home]/.other/somefile" /> >>> </cm:default-properties> >>> </cm:property-placeholder> >>> >>> <bean id=“fileReader" class="org.FileReader"> >>> <argument value="#{my.file.name <http://my.file.name/>}" /> >>> </bean> >>> >>> >>> The $[user.home] place holder is never substituted , so I get file not >>> found error on file name "$[user.home]/.other/somefile" >>> I have search everywhere but I can’t figure out what I am doing wrong. >>> >>> >>> Best regards, >>> Alex soto >>> [email protected] <mailto:[email protected]> >>> >>> >>> >>> >>> >>> >>> -- >>> ------------------------ >>> Guillaume Nodet >>> ------------------------ >>> Red Hat, Open Source Integration >>> >>> Email: [email protected] <mailto:[email protected]> >>> Web: http://fusesource.com <http://fusesource.com/> >>> Blog: http://gnodet.blogspot.com/ <http://gnodet.blogspot.com/> >>> >> >
