|
This only seems to work with enviornment variables, not with variables pulled from a property file:
IE, if I run my test with -Dprop.name=FOO <import resource="${property.name}Context.xml"/> will load if I do the following without the -Dprop.name flag: <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" autowire="no"> and have a prop.name entry in test.properties this no longer works Joe, that is correct. I've requested and Juergen has added support for system properties, not those from properties files.
Spring version 1.2.6 still isn't out yet.
Thanks, |
||||||||||||||||||||||||||||||||||||||||||||||
Juergen