Created
October 19, 2011 12:15
-
-
Save galak-fyyar/1298123 to your computer and use it in GitHub Desktop.
Platform dependent settings in Spring
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> | |
<property name="nullValue" value="null"/> | |
<property name="ignoreResourceNotFound" value="true"/> | |
<property name="locations"> | |
<list> | |
<value>classpath:/application.properties | |
<value>classpath:/application-#{ systemEnvironment[ 'SUPER_APP_ENV' ] }.properties | |
</list> | |
</property> | |
</bean> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment