Eclipse 3.3 and M2 0.0.10 I'm thinking more in line with you're first suggestion and having M2 filter resources during the deployment. The second option is easier to implement (without changing to code) but would require executing a Maven build before deploying. However, this second option could run into trouble when doing a hot deployment
On 8/26/07, Adam Hardy <[EMAIL PROTECTED]> wrote: > > 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 > >
