no "run as GWT application" in Eclipse 3.7 (indigo)

590 views
Skip to first unread message

pagod

unread,
Aug 4, 2011, 12:13:45 PM8/4/11
to Google Web Toolkit
Hi,

I recently installed Eclipse 3.7 and need to be running projects that
use the GWT. I've installed the various components as described on the
information pages and now my configuration looks like this (copied
from Eclipse's "installed software"):
Google App Engine Java SDK 1.5.2 1.5.2.r37v201107211953
com.google.appengine.eclipse.sdkbundle.e37.feature.feature.group
Google, Inc.
Google Plugin for Eclipse 3.7 2.3.3.r37v201107211953
com.google.gdt.eclipse.suite.e37.feature.feature.group Google, Inc.
Eclipse Platform 3.7.0.v20110530-9gF7UHNFFt4cwE-pkZDJ7oz-
mj4OSEIlu9SEv0f org.eclipse.platform.feature.group Eclipse.org
Eclipse Help System 1.3.0.v20110327-7i7uFFiFFt6ZqnbOrMXLd1
org.eclipse.help.feature.group Eclipse.org
Eclipse RCP 3.7.0.v20110216-9DB5Fm1FpBGy_AaVz-mFamgY
org.eclipse.rcp.feature.group Eclipse.org
Equinox p2 Provisioning for IDEs. 2.1.1.v20110526-6-
Bg9JXOePwKUTU7X0teV1RtDu-e
org.eclipse.equinox.p2.user.ui.feature.group Eclipse.org - Equinox
Add-on Function for p2
1.0.0.v20110519-7A4FD3DiVOManmZvpLOsnBhnPQM3
org.eclipse.equinox.p2.extras.feature.feature.group Eclipse.org -
Equinox
Equinox p2 Core Function 1.0.0.v20110519-8290FZ-
FWmE7gdAgmOPL2_C org.eclipse.equinox.p2.core.feature.feature.group
Eclipse.org - Equinox
Equinox p2 RCP Management Facilities
1.0.0.v20110519-782EoBqNKGUkVQrqOf0z-BhnPQM3
org.eclipse.equinox.p2.rcp.feature.feature.group Eclipse.org - Equinox
Google Web Toolkit SDK 2.3.0 2.3.0.r37v201106211634
com.google.gwt.eclipse.sdkbundle.e37.feature.feature.group Google,
Inc.
GWT Designer Core 2.3.2.r37x201107161253
com.google.gdt.eclipse.designer.hosted.feature.feature.group Google,
Inc.
GWT Designer Editor 2.3.2.r37x201107161302
com.google.gdt.eclipse.designer.editor.feature.feature.group Google,
Inc.
GWT Designer GPE 2.3.2.r37x201107161423
com.google.gdt.eclipse.designer.gpe.feature.feature.group Google, Inc.

Now when I want to run my project, I go to "Run as..." and there I can
select "Web application" as a target type. My other colleagues all
have another option "GWT Application", which apparently allows things
like hot code updates. This option doesn't appear in the list of
possible target types (neither in "Run as..." nor in "Debug as..." of
course). I've tried uninstalling/reinstalling the complete GWT set, no
improvement...

Any idea why this option is not available for me, and what I should do
to activate it?

Thanks a lot!

pagod

Kevin Jordan

unread,
Aug 5, 2011, 3:00:58 PM8/5/11
to Google Web Toolkit
Try going down to the Configure menu option and see if there's a
Convert to GWT Project option. Also confirm in the Google->Web
Toolkit option in the project properties that it's setup to use the
toolkit.

Eric Clayberg

unread,
Aug 5, 2011, 5:39:15 PM8/5/11
to google-we...@googlegroups.com
In general, you should use "Run As Web Application", if you are using the GPE.

The "Run As GWT Application" (legacy) command is redundant and provided by the full version of GWT Designer only. You shouldn't need it.

Warren Tang

unread,
Aug 6, 2011, 7:03:21 AM8/6/11
to google-we...@googlegroups.com
I noticed that "Run as Web Application" and "Run as GWT application" has different user interfaces - the former runs in an embedded window in eclipse while the latter runs as a standalone app. Does anyone know the differences?

Besides, there is also a "Compile as GWT application" command in the full version of GWT Designer. I find it's easier to find than the toolbar button.

I'd love a package command too, but for now I use Maven for packaging. An alternative is ant as described in the following articles in details:
http://www.rubiconred.com/blog/build-package-a-gwt-app-to-war-using-ant/

Eric Clayberg

unread,
Aug 7, 2011, 3:22:58 PM8/7/11
to google-we...@googlegroups.com
"Run as Web Application" is newer and up-to-date while "Run as GWT application" is older and obsolete.

Alain Ekambi

unread,
Aug 7, 2011, 3:28:21 PM8/7/11
to google-we...@googlegroups.com
Well i did like the old  one. :)
Will miss it

2011/8/7 Eric Clayberg <clay...@google.com>
"Run as Web Application" is newer and up-to-date while "Run as GWT application" is older and obsolete.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/PxK34ZveHigJ.

To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

.

--


Warren Tang

unread,
Aug 7, 2011, 10:09:11 PM8/7/11
to google-we...@googlegroups.com
Then it shall be removed to avoid confusion.

Kevin Jordan

unread,
Aug 8, 2011, 7:56:23 AM8/8/11
to Google Web Toolkit
If you're using Maven and want to get the old standalone app version
yet, set up a run configuration with gwt:debug. You can also use
gwt:run to have it automatically bring up the window, but I've found
eclipse can't tie into that with its debugger, so gwt:debug with a
Remote Java Application debug configuration to connect to the running
hosted mode process works.
Reply all
Reply to author
Forward
0 new messages