Inheriting module does not inherit its <entry-point> or <servlet> definitions
-----------------------------------------------------------------------------

                 Key: MGWT-164
                 URL: http://jira.codehaus.org/browse/MGWT-164
             Project: Maven 2.x GWT Plugin
          Issue Type: Bug
    Affects Versions: 1.2
         Environment: Linux 686, GWT 1.7.1, Maven GWT plugin 1.1
            Reporter: Uros Trebec


I switched from Maven GWT plugin 1.1 to 1.2 and found out that inheriting GWT 
module *does not inherit* its *<entry-point>* or *<servlet>* definitions.

This is a very common example, where inheriting of *<entry-point>* and 
*<servlet>* definitions is very useful for debugging(and works properly in 1.1 
*but not 1.2*):
{code:xml|title=Foo.gwt.xml} 
<module rename-to="Foo">
    <inherits name="com.google.gwt.user.User" />
    <servlet class="com.test.FooServiceImpl" path="/foo.rpc" />
    <entry-point class='com.test.client.Foo' />
</module>
{code}

{code:xml|title=FooBar.gwt.xml} 
<module rename-to="Foo">
    <inherits name="com.test.Foo" />
    <set-property name="user.agent" value="gecko1_8"/>
</module>
{code}

When using 1.2 one needs to *add <entry-point>* to FooBar.gwt.xml or the module 
*wont compile*. Also, *<servlet>* needs to be added or _mergewebxml_ does *not 
add* it to the merged "web.xml" file.

Is there a reason for this kind of behavior? Can this be reverted or added as a 
plugin configuration option?


-- 
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