Async interface generated with wrong returning type (non-generic)
-----------------------------------------------------------------
Key: MGWT-320
URL: https://jira.codehaus.org/browse/MGWT-320
Project: Maven 2.x GWT Plugin
Issue Type: Bug
Affects Versions: 2.4.0
Environment: Behaves the same on XP and Fedora. JDK 1.6
Reporter: Bo Stone
This bug was reported before (see MGWT-1) and marked as resolved. However I see
the following error when I'm running the build:
{code}
build 07-Nov-2011 17:00:15 [INFO] [ERROR] Errors in
'file:/data/bamboo-data/xml-data/build-dir/QUIM-QUIIT-JOB1/client/src/main/java/reporting/client/ui/ReportingTreePanel.java'
build 07-Nov-2011 17:00:15 [INFO] [ERROR] Line 58: The method
queryReportingNodes(ModelData, AsyncCallback<List>) in the type
QuantumRemoteServiceAsync is not applicable for the arguments (ModelData,
AsyncCallback<List<BaseModel>>)
build 07-Nov-2011 17:00:17 [INFO] [ERROR] Errors in
'file:/data/bamboo-data/xml-data/build-dir/QUIM-QUIIT-JOB1/client/src/main/java/reporting/client/ui/tabs/ReportingTabItem.java'
build 07-Nov-2011 17:00:17 [INFO] [ERROR] Line 120: The method
queryReportPagingGridData(PagingLoadConfig, AsyncCallback<PagingLoadResult>) in
the type QuantumRemoteServiceAsync is not applicable for the arguments
(PagingLoadConfig, AsyncCallback<PagingLoadResult<ReportGridData>>)
{code}
Here's the method as defined in QuantumRemoteService.java:
List<BaseModel> queryReportingNodes(ModelData data);
And here's what is generated by plugin
void queryReportingNodes( com.extjs.gxt.ui.client.data.ModelData p0,
AsyncCallback<java.util.List> callback );
--
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