Little tired, took me a bit to figure this out... but it seems to work Create GWT project with GWT Plugin:
Test Project->Run As->Web Application, should work fine. Project->MyEclipse->Add Web Project Capabilities... Set Web Root Directory to war uncheck create web.xml uncheck Add J2EE libraries to Buildpath. Test Project->Run As->Web Application, should FAIL. go to Project->Java Build Path/Source Tab remove <project>/src uncheck Allow Output folders for Source Folders add <project>src back. Test Project->Run As->Web Application, should work fine. Project->Google->GWT Compile MyEclipse->,,, deploy to tomcat, start... VOILA! MyEclipse will complain about the web.xml format: remove the DOCTYPE DTD and change the <web-app> to: <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http:// java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http:// java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"> This works fine in Hosted Mode and Tomcat 6. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
