In Spring 3.2 by default, Spring Environment object will resolve spring.profiles.active OS environment or -D JVM switch. I have a use case where I need to set the active profile from a common properties file. However, I am unable to make Environment resolve the active profile correctly.
Is there away to do that without using property placeholder?