Using eclipse europa 3.3.0 and tomcat 6 as the embedded server, i have a problem
with filtering of a properties file by maven/m2eclipse using values from my
maven install conf dir settings.xml.
Deploying in tomcat works but only when I have launched it once (with error) and
then restarted it. If I don't restart it, the webapp refuses to launch, giving
an error showing that maven didn't filter the properties file.
I set up the project by manually editing the config files, and this is the
org.eclipse.wst.common.component. I had to include the properties file that
causes problems (security.properties) - and I think it must be a wrong
assumption I've made here somewhere:
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="call-centre">
<property name="context-root" value="call-centre"/>
<wb-resource deploy-path="/" source-path="src/main/webapp"/>
<property name="java-output-path" value="/target/classes"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="src/main/java"/>
<wb-resource deploy-path="/WEB-INF/classes"
source-path="src/test/resources"/>
<wb-resource deploy-path="/WEB-INF/lib"
source-path="target/call-centre/WEB-INF/lib"/>
<wb-resource deploy-path="/WEB-INF/classes/security.properties"
source-path="target/call-centre/WEB-INF/classes/security.properties"/>
<wb-resource deploy-path="/META-INF"
source-path="target/call-centre/META-INF"/>
</wb-module>
</project-modules>
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email