[
http://jira.codehaus.org/browse/MGWT-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mickaël Leduque updated MGWT-157:
---------------------------------
Attachment: merge_inherited_servlets.diff
Here is an attempt to solve the problem.
You may or may not be interested in it, and even if I try to keep it coherent
with the surrounding code, maybe you'll not like it.
But you're welcome tu use it.
> mergewebxml doesn't merge servlets from inherited modules
> ---------------------------------------------------------
>
> Key: MGWT-157
> URL: http://jira.codehaus.org/browse/MGWT-157
> Project: Maven 2.x GWT Plugin
> Issue Type: Bug
> Affects Versions: 1.2
> Environment: Windows XP on i386 / maven 2.2.1 / plugin version 1.2
> Reporter: Mickaël Leduque
> Attachments: merge_inherited_servlets.diff
>
>
> It seems like servlets declared in inherited modules are not merged by the
> mergewebxml goal.
> I have a gwt module that contains no servlet declarations, but inherits other
> modules with servlet declaration.
> If I do mvn clean gwt:mergewebxml, I have the following output :
> 0 servlet(s) merged into
> C:\data\workspace\wimag\WimagShowcase\showcase-app\target\war\WEB-INF\web.xml
> I can check in the "generated" web.xml that I have only the dummy web.xml
> with the 2 following lines added :
> <!--inserted by gwt-maven-plugin-->
> <!--inserted by gwt-maven-plugin-->
> If I cut& paste one of the inherited servlet in the master gwt.xml, I have
> 1 servlet(s) merged into
> C:\data\workspace\wimag\WimagShowcase\showcase-app\target\war\WEB-INF\web.xml
> The web.xml that has been generated contains the required <servlet> and
> <servlet-mapping>.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email