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


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


Reply via email to