Spring Projects Issues

Results 1265 comments of Spring Projects Issues
trafficstars

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be...

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be...

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be...

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be...

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be...

**[Peter De Winter](https://jira.spring.io/secure/ViewProfile.jspa?name=mijathi)** commented That or it should set the property spring.profiles.active.

**[Sam Brannen](https://jira.spring.io/secure/ViewProfile.jspa?name=sbrannen)** commented [Peter De Winter](https://jira.spring.io/secure/ViewProfile.jspa?name=mijathi), what do you mean by _it_?

**[Peter De Winter](https://jira.spring.io/secure/ViewProfile.jspa?name=mijathi)** commented When running tests with a certain active profile the environment property `spring.profiles.active` is not being set. Using `${spring.profiles.active}` placeholders inside your XML namespace application context this...

**[Martin Flower](https://jira.spring.io/secure/ViewProfile.jspa?name=sylvestris)** commented I would also like the `@ActiveProfiles` annotation to set the value of `spring.profiles.active`. This will enable me to write ```java @Configuration @PropertySource({"classpath:props/configuration.properties","classpath:props/${spring.profiles.active}/configuration.properties"}) public class AppConfigProperties { ......

**[Sam Brannen](https://jira.spring.io/secure/ViewProfile.jspa?name=sbrannen)** commented [Martin Flower](https://jira.spring.io/secure/ViewProfile.jspa?name=sylvestris), > At the moment I cannot see how to set spring.profiles.active from the integration test base class (extends AbstractTransactionalTestNGSpringContextTests) as the ApplicationContext seems to be...