In a Spring file I have:
<bean id="propertyConfigurer" class="org.myapp.MyConfigurator"> <property name="locations"> <list> <value>classpath:configuration-${env}.properties</value> </list> </property> </bean> the ${env} variable is defined in maven's profile. But when I run from eclipse the application in tomcat 6 (published) it doesn't look in maven. So how can I set the variable for Tomcat?
Thanks
Randomize