- Go to below site https://www.gwtproject.org/download.html
- Click on "DOWNLOAD GWT SDK" button to download the GWT jar.
- It will download as zip folder.
- Unzip the folder and go inside the folder, run the below command on command prompt to install the jar. mvn install:install-file -Dfile=gwt-dev.jar -DgroupId=com.google.gwt -DartifactId=gwt-dev -Dversion=2.11.0 -Dpackaging=jar mvn install:install-file -Dfile=gwt-user.jar -DgroupId=com.google.gwt -DartifactId=gwt-user -Dversion=2.11.0 -Dpackaging=jar mvn install:install-file -Dfile=requestfactory-apt.jar -DgroupId=com.google.web.bindery -DartifactId=requestfactory-apt -Dversion=2.11.0 -Dpackaging=jar mvn install:install-file -Dfile=gwt-servlet.jar -DgroupId=com.google.gwt -DartifactId=gwt-servlet -Dversion=2.11.0 -Dpackaging=jar
Start by importing the project as an existing maven project.
Add this xml element to ~/.m2/settings.xml
to get access to the GXT 4.0.3 artifacts.
- More in the GXT Maven Guide
<!-- Add this to ~/.m2/settings.xml servers -->
<server>
<id>sencha-gxt-repository</id>
<username>[portal username]</username>
<password>[portal password]</password>
</server>
Easily add Ext JS integration with the GWT JSNI or JsInterop Apis.
Integration instructions:
- Download Ext JS zip. (In the near future it will be installed using Maven)
- Import the resources into the index.html. Find the Ext JS comments.
- Add the resources to the /extjs directory.
- Right click on the project and Debug As
GWT Development Mode with Jetty
- Double click on the url in the
Development Mode
web url.