Sunday, January 23, 2011

GWT DevKit install and config for cl development

For the ITS381B class, one needs the following software tools for Google Web Toolkit (GWT) development. Most of the installations are straight forward. I installed the Java SDK and TortoiseSVN in the default location of Program Files. For everything else, I created a root level directory that I named Development. This post assumes a Windows 7 machine as the target.

Software Installation

You just unzip this archive and place the resulting gwt-2.1.1 directory into the Development directory.

Be sure to get the SDK (developer) version for your particular platform.

Please put the 'apache-ant-1.8.2' directory and the gwt-2.1.1 directory into a directory at C:\Development.

Please put the 'appengine-java-sdk-1.4.0' directory into the directory at C:\Development.

TortoiseSVN A subversion client so that we can use the Google code repository. http://tortoisesvn.net/downloads.html

System Configuration

In Windows, under Computer->Properties->Advanced System Settings->Environment Variables...

In User variables for (Open User)
Create the following variables with the following values:

ANT_HOME
C:\Development\apache-ant-1.8.2

JAVA_HOME (the path name is the one I installed yours may be slightly different)
C:\Program Files\Java\jdk1.6.0_23

GWT_HOME
C:\Development\gwt-2.1.1

APPENGINE_HOME
C:\Development\appengine-java-sdk-1.4.0

CLASSPATH
%CLASSPATH%;%JAVA_HOME%\lib;%ANT_HOME%\lib;%GWT_HOME%;%APPENGINE_HOME%\lib;

PATH
%PATH%;%JAVA_HOME%\bin;%ANT_HOME%\bin;%GWT_HOME%;%APPENGINE_HOME%\bin%;

Now you are all set for GWT development at the command line.

4 comments:

  1. Thank you, Carmen. Yes, that is right. In this post, I was focusing on the command line tools. In another post, I will add the IDE and GUI tools.

    ReplyDelete
  2. im having trouble finding the java sdk 1.6 link, any help?

    ReplyDelete
  3. http://www.oracle.com/technetwork/java/javase/downloads/index.html

    ReplyDelete