Tuesday, June 24, 2008

Project Building Survivor Guide

1. Upload the newest GWT for your platform(Win, Mac, Linux):
http://code.google.com/webtoolkit/download.html

2. Set enviorment variables

a. (JAVA_HOME, M2_REPO, GWT_HOME, ANT_HOME, JAVA_OPTS, MYSQL_HOME, MAVEN_HOME)
Control Panel -> System -> Advanced -> Enviorment Variables. This can also be done by setting for instance a .bat file that contains system variables and their paths.

Example
JAVA_OPT: -Xms128m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=128m -Dfile.encoding=UTF-8 -Dcom.sun.management.jmxremote

b. Another way is to create a myName.properties file in your application in which you set all the user specific variables.