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
[email protected]



Reply via email to