Generics are not generated in Async interfaces when service definition extends 
an interface from another module in a multi-module maven project
-----------------------------------------------------------------------------------------------------------------------------------------------

                 Key: MGWT-313
                 URL: https://jira.codehaus.org/browse/MGWT-313
             Project: Maven 2.x GWT Plugin
          Issue Type: Bug
    Affects Versions: 2.3.0, 2.2.1, 2.1.0, 1.2
         Environment: maven 2.2.1, gwt 2.3.0
            Reporter: Zardosht Hodaie
         Attachments: mgwt-multi-mudule-test.zip

In a multi module maven project, we have public modules which contain service 
definition interfaces. The interfaces from which gwt async interfaces are 
generated are place in web modules and extend the service definition along with 
RemoteService interface. In such a configuration, if service definition 
contains java generics they are not generated correctly in Async interface: The 
type parameters are discared. 
I have attached a test case. Do "maven clean compile" and then have look at 
following 
/mgwt-web/target/src/java/mgwt/test/FooGWTServiceAsync.java
/mgwt-web/src/main/java/mgwt/test/FooGWTService.java
/mgwt-public/src/main/java/mgwt/test/FooService.java

--
This message is automatically generated by JIRA.
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