Your issue might be related to this one: http://code.google.com/p/google-web-toolkit/issues/detail?id=3557
- Adrian On Mar 13, 8:05 am, stingermn <[email protected]> wrote: > I have a gwt web app whose initial page is a .jsp page. The .jsp page > compiles and the app runs without problems in web mode, however > the .jsp page will not compile in hosted mode. > > To start the app in hosted mode, I am using an ant script with a > 'devmode' target. The '-startupUrl' parameter specifies "index.jsp" > as the initial page. > > <target name="devmode" depends="javac" description="Run development > mode"> > <java failonerror="true" fork="true" > classname="com.google.gwt.dev.DevMode"> > <classpath> > <pathelement location="src"/> > <path refid="project.class.path"/> > </classpath> > <jvmarg value="-Xmx256M"/> > <arg value="-startupUrl"/> > <arg value="index.jsp"/> > <!-- Additional arguments like -style PRETTY or -logLevel DEBUG > --> > <arg value="com.datacard.sip.admin.Admin"/> > </java> > </target> > > When the .jsp page compiles (in hosted mode) there are multiple > errors. > Here is a sample error, > > 13. ERROR in C:\svnTest\trunk\source\MyApp\src\com\myCompany\myApp > \server\ResourceBundleHelper.java (at line 15) > private List<ResourceBundle> resourceBundleList; > Syntax error, parameterized types are only available if source level > is 1.5 > > The java code referenced by the .jsp page is written using java 1.5 > style generics, but it appears that this code is not being compiled at > source level 1.5. > > I have found many examples of setting the source level while in web > mode (by adding compilerSourceVM and compilerTargetVM parameters to > the org.apache.jasper.servlet.JspServlet <servlet> element in the > tomcat conf/web.xml file). > > How do I set the source level to 1.5, in hosted mode? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
