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]> 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/> >
