Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] wb-resource naive question

Stock settings = when you create a new tomcat server instance and leave the default settings.

I think Tomcat 6 should work. If you can reproduce the problem with a sample project, then please open a bug report at  https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2E-WTP 

On Tue, Jul 17, 2012 at 6:22 PM, l.penet@xxxxxxxx <l.penet@xxxxxxxx> wrote:
On 17/07/2012 17:03, Fred Bricon wrote:
m2e-wtp doesn't use /target/APPNAME.  That folder is created during CLI builds, in the package phase.

In Eclipse w/ WTP, deployment is incremental and source folders are directly referenced for publishing. Typically :
- src/main/webapp will contain your web resources
- target/m2e-wtp/web-resources/ contain automatically generated web resources (and need to be referenced before src/main/webapp in the deployment assembly)

Now for overlays, if the referenced overlay is an archive, it'll be unzipped under target/m2e-wtp/overlays/<archivename>. Overlaid workspace projects are referenced with a custom handle in the .settings/org.eclipse.wst.common.component. This settings allow overlay changes to be published on the fly.

Note that overlay support might vary depending on the server adapter you're using. I've been testing it with Tomcat and JBoss AS 7. For the moment Tomcat's "Serve modules without publishing" feature is not compatible with m2e-wtp's overlays, so you must use the stock settings which publish the modified resources to a staging area

You can look at https://github.com/jbosstools/m2e-wtp-tests/tree/master/org.eclipse.m2e.wtp.tests/projects/overlays for overlay project samples.
ok, thank you.

Maybe the problem is that I am using Tomcat 6. Can you please tell me more on how to use the stock settings ?


Ludovic
|
| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
|

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



--
"Have you tried turning it off and on again" - The IT Crowd

Back to the top