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

Matt Bishop updated MGWT-156:
-----------------------------

    Attachment: mgwt_156.zip

This is a zipped GWT project (generated by the gwt-maven-plugin archetype) that 
shows this bug. Just unzip it, cd into the dir and run 'mvn gwt:run' to see all 
the errors about using 1.5 in your JSP.

To clarfiy the bug a bit, this error occurs when the JSP page uses 1.5 
features, or uses classes that use 1.5 features.

> 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