Home | Ubuntu PulseAudio Problems >>

GWT in Eclipse

Cypal Studio Tips & Tricks

While using Cypal Studio for GWT programming is very intuitive, I have come across various bits and pieces that have taken me a while to sort out, specially with older versions, and that I'll list here for convenience, along with a brief description.

Module Configuration

The module configuration is via a xml and eclipse likes to have the corresponding DTD, so here is the 1.5 version (just cut'n'paste):
<!DOCTYPE document SYSTEM "http://google-web-toolkit.googlecode.com/svn/releases/1.5/distro-source/core/src/gwt-module.dtd">

Running in Hosted -NoServer mode

To setup a hosted tested environment that uses your favourite tomcat server you must complete the following steps:
  1. Setup a hosted run configuration but deactivate the Use Embedded Tomcat Server and the Use default URL for module while setting this last to
    http://localhost:8080/MyModuleName
    according to wherever your server is configured & the module you are trying to run.
  2. Modify your project so that it can find the module's web page by adding a
    <welcome_file>MyModuleName.html</welcome-file>
    to your web.xml in the WEB-INF folder.

References:




Add a comment Send a TrackBack