Martin,

The MNGECLIPSE-599 issue been closed by original reporter and it is somewhat confusing, but I think that is related to MNGECLIPSE-597.

You could help by providing a more complete test projects for war overlays then one attached to MNGECLIPSE-597. The next step would be to figure out how war overlays should work with WTP (in Eclipse workspace) and you can also help there by doing research, e.g. create a child page on the wiki [6] and try to describe how all pieces of war overlay support should fit together (maven builder on resource changes, copying files around, dependency resolution, deployment to app server and other details you find relevant). This research would help us to find solution for this issue.

Also note that Fred Bricon is currently working on support for EAR and EJB projects for WTP integration [4] and his work is currently in the branch [5]. I believe Fred already fixed the most critical part of MNGECLIPSE-597 issue, but I don't think anyone looked at the war overlay support yet. It

If you want to dig into the code yourself, start from configuring your development environment [1], [2]. Once you get it build in Eclipse (PDE), you can look at the project configuration framework [3] and specific implementation for WTP in the org.maven.ide.eclipse.wtp project.

 Hope this would help to get you started.

 regards,
 Eugene

[1] http://docs.codehaus.org/display/M2ECLIPSE/Configuring+Development+Environment [2] http://docs.codehaus.org/display/M2ECLIPSE/Target+Platform+based+on+Eclipse+3.4 [3] http://docs.codehaus.org/display/M2ECLIPSE/Extensible+project+configuration+framework
[4] http://jira.codehaus.org/browse/MNGECLIPSE-688
[5] http://svn.sonatype.org/m2eclipse/branches/ear-support/
[6] http://docs.codehaus.org/display/M2ECLIPSE/Integration+with+WTP


Schrodt, Martin wrote:
Hi List,

I am programming an application with a lot of common code and resources
that shall be reused in dependant projects. I implemented that with the
maven-war-plugin's overlay feature, which works without problems when
packaging the dependant project and manually deploying it.

However, when deploying such a project to a WTP-configured container
(Tomcat 5.5, but I guess all others are affected too), only the
overlayed files are deployed, and not a single file from the underlying
WAR. There already is a bug report describing this under
http://jira.codehaus.org/browse/MNGECLIPSE-599, but it was closed and
marked a duplicate of http://jira.codehaus.org/browse/MNGECLIPSE-597,
which I don't think is the case.

I just want to bring this issue back to the table, and even offer some
help to get this going. So if someone could point me in the right
direction, I could submit a patch, if it's possible for me to fix it.

Thank you,
Martin

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

    http://xircles.codehaus.org/manage_email




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

   http://xircles.codehaus.org/manage_email


Reply via email to