0

Locally, I am reading in properties like this

<context:property-placeholder location="META-INF/dsk.properties" />

But in my test and production environments, I will have an envenvironment variable that's set to "test" or "prd", as well as test.properties and prd.properties how can I tell Spring to read an environment variable and set my properties file accordingly?

Steve
  • 4,457
  • 12
  • 48
  • 89

0 Answers0