16/04/2009

Google Eclipse Plugin

Posted in GWT tagged , at 18:52 by vanje

The easiest way to start with GWT is to install the Google plugin for Eclipse. During installation you can optionally  install the newest GWT version 1.6.4. If you omit this option, you have to manually configure the GWT-SDK after installation.

The Google plugin adds a new “Web Application Project” wizard. This wizard creates nearly the same procject structure and hello world application than the new webAppCreator script. The only difference I’ve seen so far is the absence of the Ant build file that is included in the script result. But it is possible to run the script over the wizard created project with the -ignore option so that existing files remain untouched.

The webAppCreator script creates also a launch configuration. But this is only usefull running in  an Eclipse without the Google plugin. With the plugin installed there is a “Run as Web application” entry in the context menu. In the extended run configuration dialog there are options for changing the Jetty port, output style and log level.

GWT run configuration (main)

GWT run configuration (main)

GWT run configuration (GWT)

GWT run configuration (GWT)

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.