rule for running embedded tomcat or jetty in google eclipse plugin (GEP)

5 views
Skip to first unread message

Ladislav Gazo

unread,
Nov 10, 2009, 4:52:52 PM11/10/09
to Google Web Toolkit
Hello,

I want to ask you how does Google Eclipse Plugin recognize whether to
run embedded Tomcat or Jetty? What is the rule for that? I am
experiencing various undeterministic (from my point of view)
situations where for one project it runs with Jetty and for another
Tomcat...

Thanks in advance

Thomas Broyer

unread,
Nov 10, 2009, 7:36:12 PM11/10/09
to Google Web Toolkit
AFAICT it looks for the presence of a "war" folder to determine if it
should use GWTShell (tomcat, uses <servlet/> in gwt.xml) or HostedMode
(jetty, uses war/ with servlets declared in war/WEB-INF/web.xml)
Note that this is determined at the time you add the GWT nature to
your project. If you later add or remove the "war" folder, you have to
uncheck GWT in your project's option, save the project, then enable
GWT again for the change to be taken into account.

Ladislav Gazo

unread,
Nov 11, 2009, 9:35:48 AM11/11/09
to Google Web Toolkit
thanks, it works the way you mentioned.
Reply all
Reply to author
Forward
0 new messages