| Refresh | Home EGTry.com

set up gwt project with the command line tools



Create a sample project files

mkdir gwt1
java -cp \java\gwt-2.4.0\gwt-user.jar;\java\gwt-2.4.0\gwt-dev.jar com.google.gwt.user.tools.WebAppCreator egtry.ClientApp1



import into eclipse

1. File -> Import -> Existing Projects into Workspace
2. select root directory
3. uncheck "copy projects into workspace"
4. click "Refresh" button
5. Finish


test in dev mode

 1. ant devmode

 2. launch default browser

the change on java and html source code is reflected immediately on the browser


create war for the deployment

 ant war