Search code examples
gwtmavengwt-maven-plugin

Maven GWT Plugin - generateAsync and Generic type


Hi there I successfully installed the GWT Maven plugin and it generates on incremental save the Async RPC services.

However I got a little problem, if I use :

ArrayList<Whatever> then the Async class generated will have a method AsyncCallback<java.util.ArrayList> callback

As you can see it's missing the <Whatever> reference, I'm almost certain that one day I saw it work.

Here are the version I use: Maven 3.0.4 MavenGwtPlugin 2.4.0 QDox 1.2 GWT 2.4.0

I tried QDox 2.0-snapshot as read on one forum thread, nothing is working.

If you got an idea ! Thanks


Solution

  • See https://jira.codehaus.org/browse/MGWT-315

    Make sure you only run genericAsync from a clean build.