One correction: When launching web apps, we use DevMode if the SDK supports it and HostedMode otherwise.
2009/12/1 Miguel Méndez <mmen...@google.com> > That is right, at the time that the project is GWT-enabled it checks for > the existence of a war/WEB-INF/web.xml. If that exists it will think that > it is dealing with a war-style project and then it will use the HostedMode > if it is available or DevMode when launching the application. With that > version of the plugin, if you have a war/WEB-INF/web.xml file in your > project, then you can go to the project properties, and disable gwt for the > project apply the changes, go back in and re-enable GWT. That should make > it think that it is dealing with a war layout project and it won't use > GWTShell. > > There are a few problems with this heuristic that we need to revisit post > 1.2/2.0. > > 2009/12/1 Joel Webber <j...@google.com> > > @Miguel: I've hit this before when upgrading projects, and I keep >> forgetting what the trick was. I seem to recall the plugin was making the >> project layout determination at the time the GWT nature is added, but I'm >> not 100% certain. >> >> >> On Tue, Dec 1, 2009 at 3:55 PM, Matt Mastracci <matt...@mastracci.com>wrote: >> >>> Hey all, >>> >>> I installed the GPE 2.0-RC2 build (after cleaning out the old one) and >>> I'm running into some issues. The plugin thinks that we're using the >>> old-style layout, so it's attempting to launch GWTShell which won't >>> initialize a local Jetty w/war.xml. >>> >>> I've worked around it by creating a local copy of GWTShell that >>> delegates to DevMode, but I'd like to figure out why it's using the >>> wrong launch target. >>> >>> What is the heuristic for determining whether a project uses the war >>> layout vs. the GWTShell layout? >>> >>> Thanks, >>> Matt. >>> >>> -- >>> http://groups.google.com/group/Google-Web-Toolkit-Contributors >>> >> >> > > > -- > Miguel > -- Miguel -- http://groups.google.com/group/Google-Web-Toolkit-Contributors