[ http://jira.codehaus.org/browse/MGWT-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=267645#action_267645 ]
Klaus Hauschild commented on MGWT-186: -------------------------------------- This problem is still present for me. I'm using gwt-m-p-2.2.0. This is my plugin-config: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>gwt-maven-plugin</artifactId> <version>2.2.0</version> <dependencies> <dependency> <groupId>com.google.gwt</groupId> <artifactId>gwt-user</artifactId> <version>2.3.0</version> </dependency> <dependency> <groupId>com.google.gwt</groupId> <artifactId>gwt-dev</artifactId> <version>2.3.0</version> </dependency> <dependency> <groupId>com.google.gwt</groupId> <artifactId>gwt-servlet</artifactId> <version>2.3.0</version> </dependency> </dependencies> <!-- JS is only needed in the package phase, this speeds up testing --> <executions> <execution> <id>prepare-package</id> <phase>prepare-package</phase> <goals> <goal>compile</goal> </goals> </execution> <execution> <id>process-resources</id> <phase>process-resources</phase> <goals> <goal>generateAsync</goal> </goals> </execution> </executions> <!-- Plugin configuration. There are many available options, see gwt-maven-plugin documentation at codehaus.org --> <configuration> <!-- URL that should be automatically opened in the GWT shell (gwt:run). --> <runTarget>CoC.html</runTarget> <!-- Location of the develop-mode web application structure (gwt:run). --> <hostedWebapp>target/${project.build.finalName}</hostedWebapp> <!-- Ask GWT to create the Story of Your Compile (SOYC) (gwt:compile) --> <compileReport>true</compileReport> </configuration> </plugin> Where is the problem? > Generic Interface is not generated correctly > -------------------------------------------- > > Key: MGWT-186 > URL: http://jira.codehaus.org/browse/MGWT-186 > Project: Maven 2.x GWT Plugin > Issue Type: Bug > Affects Versions: 1.2 > Environment: Ubuntu 9.10, JDK 1.6 > Reporter: Phuong Nguyen > Assignee: Robert Scholte > Fix For: 2.1.0 > > Attachments: MGWT-186.patch > > > I have these 3 interface: > public interface GenericDao<TEntity, TKey> { > public List<TEntity> getAll(); > public TEntity findById(TKey key); > public TEntity persist(TEntity entity); > public TEntity[] persist(TEntity[] entities); > public void delete(TEntity entity); > } > public interface SubjectDao extends GenericDao<Subject, Long> { > public List<Subject> getEnabledSubjects(); > } > public interface SubjectService extends RemoteService, SubjectDao { > > } > Here is the generated Asynchronous version: > public interface SubjectServiceAsync > { > void getEnabledSubjects( AsyncCallback<java.util.List> callback ); > void delete( java.lang.Object p0, AsyncCallback<Void> callback ); > void getAll( AsyncCallback<java.util.List> callback ); > void findById( java.lang.Object p0, AsyncCallback<java.lang.Object> > callback ); > void persist( java.lang.Object p0, AsyncCallback<java.lang.Object> > callback ); > void persist( java.lang.Object[] p0, AsyncCallback<java.lang.Object[]> > callback ); > } > Though, it should be > public interface SubjectServiceAsync > { > void getEnabledSubjects( AsyncCallback<java.util.List<Subject>> callback > ); > void delete( Subject p0, AsyncCallback<Void> callback ); > void getAll( AsyncCallback<java.util.List<Subject>> callback ); > void findById( Long p0, AsyncCallback<Subject> callback ); > void persist( Subject p0, AsyncCallback<Subject> callback ); > void persist( Subject[] p0, AsyncCallback<Subject[]> callback ); > } -- 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