ExtGWT provides extended widgets for GWT application. The goal of this guide is to setup GWT, ExtGWT and Jetty application server.
Table of Contents
– GWT 1.5+
– Java 1.5+
– Jetty 6+
Note: GWT version 1.5.2 can’t run within the IntelliJ Idea 7.0.4 development environment. It produced the following error:
Running java.lang.IncompatibleClassChangeError com.google.gwt.dev.shell.GWTShellServlet.service(GWTShellServlet.java:169)
To setup ExtGWT project in Eclipse see: Eclipse project setup (Ext GWT Library/Getting Started/Project Setup)
Setting up an ExtGWT project from scratch in IntelliJ Idea, first create project <GXT_PROJECT>, create package path in src directory <PACKAGE_PATH> and create GWT module <GWT_MODULE> by clicking right-button mouse on the appropriate source directory and select “New/Google Web Toolkit/GWT Module”. The directory structure will be created. To create empty service interface, right-click on the client directory and select “New/Google Web Toolkit/GWT Remote Service”. The empty project is ready to be used.
To setup ExtGWT, unpack file gxt1.1.zip and simply copy and register the library gxt.jar into project. Copy directory <GWT_EXT>/resource/css to <GXT_PROJECT>/src/<PACKAGE_PATH>/public in order to be accessible from client. Insert the following tag into <GXT_PROJECT>/src/<PACKAGE_PATH>/public/<GWT_MODULE>.html into the <head> section:
<link rel=“stylesheet” type=“text/css” href=“css/ext-all.css” />
Now, the project is ready to cross-compile the GWT code to be run in Web mode.
This guide should continue .. sometimes. Sorry.