Hi,
Only noticed this feature from another threadbut I am hoping you can tell me what I am missing. It would be awesome if I can push a property from the plan file into the bundle as a contructor argument for my bean. From what I can see this can be done but I am probably missing something obvious in my module-context.xml.
Can you help ?
In the plan file :
<artifact type="bundle" name="com.pphelan.logger" version="[1, 2)">
<property name="output.dir" value="/home/pphelan" />
</artifact>
In the module-context.xml of the bundle:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schem...-beans-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd">
<bean id="dumpFileDir" class="java.lang.String">
<constructor-arg value="${output.dir}" />
</bean>
</beans>


but I am hoping you can tell me what I am missing. It would be awesome if I can push a property from the plan file into the bundle as a contructor argument for my bean. From what I can see this can be done but I am probably missing something obvious in my module-context.xml.
roperty-placeholder