Hello,
I'm looking at the PropertyPlaceholderConfigurer.
http://static.springsource.org/sprin...lderconfigurer
Is it possible do define the location of a properties file using an environment variable?
So, one would:
and then the application context would pick them up with something like:Code:set MY_APP_CFG=/path/to/custom.properties
Code:<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="locations"> <value>envPath:MY_APP_CFG</value> </property> </bean>


Reply With Quote