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 <alex.s...@envieta.com>: > Hello, I have a blueprint bundle defined as: > > <blueprint > xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0" > xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0" > xsi:schemaLocation=" > http://www.osgi.org/xmlns/blueprint/v1.0.0 > 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" > update-strategy="reload" placeholder-prefix="#{" placeholder-suffix="}"> > <cm:default-properties> > <cm:property name="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}" /> > </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 > alex.s...@envieta.com > > > > -- ------------------------ Guillaume Nodet ------------------------ Red Hat, Open Source Integration Email: gno...@redhat.com Web: http://fusesource.com Blog: http://gnodet.blogspot.com/