Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 9
Next »
- Checkout source code
- Setting environment variable
- setenv GWT_TOOLS ${HOME}/src/gwt-tools
- Build gwt-trunk
- The GWT build creates each binary distribution in the build/dist subdirectory of the source root directory
- ls ~/src/gwt-trunk/build/dist
- gwt-linux-0.0.0.tar.bz2, gwt-mac-0.0.0.tar.gz, gwt-windows-0.0.0.zip
- Unpack the binary that matches your operation system
- tar xvzf gwt-mac-0.0.0.tar.gz
- mv gwt-mac-0.0.0 ~/local
- cd ~local; ln -s gwt-mac-0.0.0 gwt
- Add GWT binary root folder to execution path
- setenv PATH ${PATH}:${HOME}/local/gwt
- Create project folder and generate eclipse project file
- mkdir ~/src/MyProject
- cd ~/src/MyProject
- projectCreator -eclipse MyProject
- Create default application
- cd ~/src/MyProject
- applicationCreator -eclipse MyProject edu.ucdavis.gwt.client.MyApplication
- Run OOTB created sample application
- cd ~/src/MyProject
- ./MyApplication-shell
- Make sure that you don't move the GWT binaries around since your projects/applications use fixed references to those gwt binary locations. If you move the GWT binaries, old projects/applications that reference the old location won't work anymore. You can fix this but it's a hassle.