This is about the getting started with GWT SDK and setting up the working environment for eclipse and command line tool.(It is for windows)
What are the things you need to get started with GWT.
1. You will need the Java SDK version 1.5 or later. If necessary, download and install the Java SE Development Kit (JDK) for your platform.
2. Apache Ant is also necessary to run command line arguments. If you don't already have it, install Apache Ant.
From here after i am assuming that you have downloaded and installed JDK and also you have downloaded Apache ant.
Steps
1. Extract Apache ant to C drive.
2. Rename it as "ant".
3. Set ANT_HOME environment variable
To set it follow the steps
My Computer -> Advanced System Properties -> Environment Variable.
Now on the system variable click on New to add a new Environment Variable.variable_name="ANT_HOME"
value="C:\ant"
4. Update Path environment variable. e.g.(oldpath;%ANT_HOME%/bin;)
To update it in the environment variable window click on path and put ";" at the end of all the path and then put "%ANT_HOME%/bin" at the end.
Now test ant is installed.
How to set install GWT SDK?
Download and unzip the Google Web Toolkit SDK. This contains the core libraries, compiler, and development server that you need to write web applications.
On Windows, extract the files from the compressed folder
gwt-2.0.3.zip
The GWT SDK doesn't have an installer application. All the files you need to run and use the SDK are located in the extracted directory.
How to set up Eclipse IDE?
If you do not already have Eclipse, you may download it from the Eclipse Website.I suggest downloading Eclipse 3.5 (Galileo).
The Google Plugin for Eclipse 3.5 is installed using the following update site. If you are using an earlier version of Eclipse, replace the 3.5 version number with your version (3.3 or 3.4). For detailed instructions on installing plugins in Eclipse, see instructions for Eclipse 3.5, Eclipse 3.4, or Eclipse 3.3.
http://dl.google.com/eclipse/plugin/3.5
In the Install dialog, you will see an option to install the Plugin as well as the GWT and App Engine SDKs. Choosing the SDK options will install a GWT and/or App Engine SDK within your Eclipse plugin directory as a convinience.
Now GWT SDK is installed in your eclipse.
Now you can Write GWT applications.
No comments:
Post a Comment