Environment: eclipse3.6 (Helios) + GWT2.1.0 + GXT2.2.0
Download the eclipse Technorati labels: helios, GWT2.1.0, GXT2.2.0, samples, GXT, and GWT. explorer Updates GWT2.1.0 through plug-ins and downloads GXT2.2.0.
- Help-> Install New Software
- Plug-in address: Google Update Site for Eclipse 3.6-http://dl.google.com/eclipse/plugin/3.6
- Check the plug-in and SDK (GWT)
- Install GWT Designer by the way, address: GWT Designer-http://dl.google.com/eclipse/inst/d2gwt/latest/3.6
- After the plug-in is installed, restart eclipse. The following GWT button is displayed in the toolbar.
- Download the latest gxt from the ext official website. The version I use is gxt2.2.0.
Create a GXTSample sample project
- Click Create a java project with GWT support in the toolbar
- Project Name: GXTSamples-> Next
- Select Greate GWT Model, ToolKit select ext gwt (GXT)-> Next
- Add gwt sdk and gxt. jar to Libraries-> Finsih
- Locate the project directory and delete the original src directory.
- Open the extracted gxt-2.2.0 directory, copy src under the gxt-2.2.0 \ samples: examples, explorer, mail, resources, and put it under GXTSamples \ src
- The refreshed src directory structure:
- Decompress: examples. war under gxt-2.2.0 \ samples and rename it as war, then copy the war directory to GXTSamples, overwrite and merge
- Refresh the GXTSamples directory
- Choose assumer.html, Run As-> WebApplication
- Open the page address in the browser. samples deployment is complete!