[ 
http://jira.codehaus.org/browse/MGWT-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

nicolas de loof closed MGWT-79.
-------------------------------

    Resolution: Not A Bug

This message is from the javac compiler, you must configure the maven compiler 
plugin with source=1.5 target=1.5
The GWT compiler is by default in 1.5

> Add support to '-source' parameter of GWT Compiler
> --------------------------------------------------
>
>                 Key: MGWT-79
>                 URL: http://jira.codehaus.org/browse/MGWT-79
>             Project: Maven 2.x GWT Plugin
>          Issue Type: New Feature
>         Environment: All
>            Reporter: Jerry Adriane Goncalves
>
> When I tried used generics on an Async interface:
> public interface IContatoRPCAsync {
>   
>   public void getContatos(AsyncCallback<ContatoTO> callback);
>   
>   public void getContato(Long id, AsyncCallback<ContatoTO> callback);
> }
> I got the error: 
> C:\gwt-test\src\main\java\com\tqi\client\IContatoRPCAsync.java:[17,39] 
> generics are not supported in -source 1.3
> (try -source 1.5 to enable generics)
>   public void getContatos(AsyncCallback<ContatoTO> callback); 
> I suggest creation of a configuration parameter to set '-source' GWT 
> compiler“s parameter like:
>             <configuration>
>               <gwt-source>1.5</gwt-source>
>             </configuration>

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