[ 
http://jira.codehaus.org/browse/MGWT-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=208527#action_208527
 ] 

Matt Bishop commented on MGWT-156:
----------------------------------

This issue existed in GWT:

http://groups.google.com/group/Google-Web-Toolkit/browse%5Fthread/thread/ae8728724c2bf71/e975705066ee6f2c?lnk=gst&q=Syntax%2Berror%2C%2B%27for%2Beach%27%2Bstatements%2Bare%2Bonly%2Bavailable%2Bif%2Bsource%2Blevel%2Bis%2B1.5#e975705066ee6f2c

And this issue:

http://code.google.com/p/google-web-toolkit/issues/detail?id=3557&q=jsp%201.5

NOTE: To be clear, this issue did not exist in plugin v1.1; it only manifested 
with plugin v1.2. I am using the same GWT (1.7.1); in my project, if I use 1.1, 
everything builds and runs just fine. If I use plugin 1.2, the compiler fails 
as described.

> JSP pages compile with JDK 1.4, not 1.5
> ---------------------------------------
>
>                 Key: MGWT-156
>                 URL: http://jira.codehaus.org/browse/MGWT-156
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: Mac OS X 10.6.2, JDK 1.6.0_17, GWT 1.7.1
>            Reporter: Matt Bishop
>         Attachments: mgwt_156.zip
>
>
> Our project uses an index.jsp to load the GWT application. The GWT app uses 
> JDK 1.5 features like enums and generics.  When running (gwt:run) with 
> gwt-maven-plugin 1.2, jetty seems to think the source is 1.4 and will fail to 
> compile classes with java5 syntax.
> REGRESSION! This worked as expected with plugin 1.1; if I merely change the 
> plugin version from 1.2 to 1.1, the app works as expected.

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