Setup

This document is for configuring Eclipse. Setup for other IDEs should be similar. A new Java project should be created before starting the setup guide.

System Requirements

  1. GWT version: GWT 1.5+ is required and can be downloaded here.
  2. GXT requires JDK 1.5 or above.

Download GWT 1.5

GXT requires GWT 1.5+. Unzip the distro anywhere on your file system, you will need to point to it later in the setup.

Download Ext GWT

Download the latest Ext GWT release here. Unzip the distro anywhere on your file system, you will need to point to it later in the setup.

Create a User Defined Library

Select Window > Preferences and select Java > Build Path > User Libraries in the preference tree.

Click the New button and name the library GWT_1_5. Select the new library and then click Add Jars. Navigate to where you unzipped the GWT download and select gwt-dev-[os].jar and gwt-user.jar

Assign New User Library To Your Project

Bring up your project's properties by right clicking the project name in the Package Explorer and selecting Properties from the context menu. Once open, select the Java Build Path item in the tree then select the Libraries tab.

Repeat the same steps and create another User Defined Library named GXT_1_0 and add the gxt.jar from the Ext GWT download.

Create A New Launch Config

Open the Run Config by selecting Run > Open Run Dialog. Select Java Application then click the New button. Fill in the fields

Main Tab


Arguments Tab


Classpath Tab

Add GXT module to the projects XML configuration file

The GXT module needs to be added to your projects XML config file:

Add ext-all.css to your host page

Setup Complete

Your project and run config should now be configured properly.