You might want to check your launch configuration (Click on the Debug
icon in the toolbar, then "Debug configurations..." then "Java
application" then the name of your launcher ) and make sure that
you're using com.google.gwt.dev.HostedMode as the main class (in the
"Main" tab)

On Apr 11, 4:15 am, Kelvin <[email protected]> wrote:
> Thanks for you advice.
>
> My orginal project is a eclipse dynamic web project(WST), I rename the
> "WebContent" folder to "war" and modify the .classpath file to make
> sure that the WST sense the change and fit the GWT 1.6 war layout.
>
> Then I enable the GWT nature and launch the Hosted Mode, It still
> launched with GWT 1.5 GWTShell.
>
> Strange...
>
> On Apr 10, 10:36 pm, Isaac Truett <[email protected]> wrote:
>
> > As I understand it, thepluginhas to detect that you're using the new
> > war layout in order to use the new hosted mode. You should be able to
> > convince it of this by adding war/web-inf/web.xml. You will also need
> > to disable the GWT nature, refresh the project (F5) and re-enable the
> > GWT nature.
>
> > On Fri, Apr 10, 2009 at 10:31 AM, Kelvin <[email protected]> wrote:
>
> > > I installed Googlepluginfor eclipse3.4 and enable gwt nature for an
> > > existing GWT project.
>
> > > However, it always launch hosted mode with deprecated
> > > 'com.google.gwt.dev.GWTShell'
>
> > > WARNING: 'com.google.gwt.dev.GWTShell' is deprecated and will be
> > > removed in a future release.
> > > Use 'com.google.gwt.dev.HostedMode' instead.
> > > (To disable this warning, pass -Dgwt.nowarn.legacy.tools as a JVM
> > > arg.)
>
> > > But I wonder why then I created a brand new GWT project with Google
> > >plugin, It can be launched with 'com.google.gwt.dev.HostedMode'.
>
> > > Sorry for posting the question here as I cannot find a group for
> > > Google EclipsePlugin:P
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to