New Plugin and GWTShell

2 views
Skip to first unread message

Jason Essington

unread,
Apr 9, 2009, 2:56:00 PM4/9/09
to Google-We...@googlegroups.com
I have a project that has been using GWT since the beta days. I just
converted it to a "GWT project" for use with the new plugin ...

now when I debug (debug as a webapp) I get the complaint that GWTShell
is deprecated, and to use HostedMode ...

problem is, the plugin doesn't give you any way to choose.

another test project that I just created does not display this message
on debug, so something must be triggering the use of one vs the other,
anyone have any idea what it could be?

-jason

Isaac Truett

unread,
Apr 9, 2009, 2:59:08 PM4/9/09
to Google-We...@googlegroups.com
One's using GWT 1.5 and the other is GWT 1.6?

Miguel Méndez

unread,
Apr 9, 2009, 3:27:13 PM4/9/09
to Google-We...@googlegroups.com
Projects that are not war style, 1.6, projects are launched using the GWT 1.5 style shell by the plugin.

Please see the "Working with GWT 1.5 and earlier projects" section in the following doc for more information: http://code.google.com/eclipse/docs/existingprojects.html.
--
Miguel

Jason Essington

unread,
Apr 9, 2009, 4:44:05 PM4/9/09
to Google-We...@googlegroups.com
Thanks Miguel!

For everyone else:

In this case both were using 1.6.4

It seems that the plugin wants to not only see that you are using 1.6.4, but also have a war/WEB-INF/web.xml file.

so, to fix older projects with this problem you have to:
1) un-check the "Use GWT" box in the Project Properties
2) close the properties dialog
3) add the war structure
4) THIS IS VERY IMPORTANT: refresh (f5) the project
5) re-check the "use GWT" box in project properties

Then enjoy debugging using the new HostedMode

-jason

Vitali Lovich

unread,
Apr 9, 2009, 7:08:29 PM4/9/09
to Google-We...@googlegroups.com
Generally, you might want to turn on the always refresh projects on startup option & continually refresh files.
Reply all
Reply to author
Forward
0 new messages