You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In your scenario, the active profiles will be apples, due to the servlet context property source (web.xml context-param entries) overriding system properties (as provided by the command line). Such property values do not get merged but rather completely override each other according to the property source precedence hierarchy.
I've added a corresponding paragraph to the reference documentation, summarizing the details given in StandardServletEnvironment's javadoc and related places.
Prashant Deva opened SPR-13845 and commented
In the docs here , it is unclear what the order of evaluation of active spring profiles is:
http://docs.spring.io/spring/docs/current/spring-framework-reference/html/beans.html#beans-definition-profiles-enable
If i specify the active profiles on:
-Dspring.profiles.active="mango, orange"
andweb.xml
has active profiles listed asapples
Do the final active profiles contain:
apples
ormango, orange
apples, mango, orange
Affects: 4.2.4
The text was updated successfully, but these errors were encountered: