Building GWT From Source

Building GWT From Source

Build GWT From Source : 2008-05-17

  • Checkout source code

  • Setting environment variable

    • setenv GWT_TOOLS ${HOME}/src/gwt-tools

    • setevn GWT_EXTERNAL_BROWSER /usr/bin/firefox

  • Set maven 2 settings.xml properties for your profile:

    • <properties> <gwt.version>1.5.0</gwt.version> <gwt.home>${user.home}Installs/GWT/gwt-linux-${gwt.version}</gwt.home> </properties>
  • Build gwt-trunk

    • cd ~/src/gwt-trunk

    • ant

  • 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