[
http://jira.codehaus.org/browse/MGWT-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=208326#action_208326
]
nicolas de loof commented on MGWT-156:
--------------------------------------
seems the jetty server launched by GWT hosted mode does not include
-source/-target arguments to make the javac compiler support Java5 syntax
Did you test same JSP from a project created with GWT SDK AppCreator ?
> 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