Richard Gill on 24/08/07 18:05, wrote:
What I was referring to in item no 1 was for a Maven goal to be automatically executed when WTP is used to launch and publish to a server. This would be necessary to execute resource filtering for e.g. As for having Eclipse copying web resources, you can edit the .settings/org.eclipse.wst.common.component preferences file to include something like the following:

<wb-resource deploy-path="/WEB-INF/classes" source-path="src/main/resources"/>

I've tried alot of things with .settings/org.eclipse.wst.common.component including trying to get filtering via m2eclipse working.

Are you saying m2eclipse should filter when eclipse is copying files to the final deployed location?

How about running the maven build so that the filtering is done when it copies source files over to the target directory? The configuration you mention in .settings/org.eclipse.wst.common.component could then be set to deploy whatever lands there.

Which version of Eclipse and m2eclipse are you using?



---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to