• Dave Syer's avatar
    Add placeholder resolution to @PropertySource processing · 76c56c6a
    Dave Syer authored
    Previously the core Spring processing of @PropertySource would
    resolve placeholders in the location attribute, but the pre-loading
    of the property source by Spring Boot didn't do that. Now implemented
    using Environment.resolvePlaceholders() (N.B. at a time when the only
    Environment entries available are system properties and OS env vars).
    
    E.g.
    
    	@Configuration
    	@PropertySource("classpath:/${source.location}.properties")
    	protected static class WithPropertySourcePlaceholders {
               ...
    	}
    76c56c6a
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
README.md Loading commit data...
pom.xml Loading commit data...