title: Tomcat + Spring and environment variables
body: <p>In a Spring file I have:</p>
  
  <pre><code>   &lt;bean id="propertyConfigurer" class="org.myapp.MyConfigurator"&gt;
          &lt;property name="locations"&gt;
          &lt;list&gt;
                         &lt;value&gt;classpath:configuration-${env}.properties&lt;/value&gt;
          &lt;/list&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>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?</p>
  
  <p>Thanks</p>
  
  <p>Randomize</p>