Wednesday, August 20, 2008

GWT: Migrate GWT from 1.4 to 1.5


1. Update pom.xml from GWt 1.4

2. In .properties file, point to GWT home (click here to download version 1.5 RC2 of GWT):
GWT_HOME=/opt/gwt/gwt-mac-1.5.1/

3. Unfortunately the new version of hibernate4gwt was incorrectly placed in the maven repository so you have to add it manually with the following statement:

mvn install:install-file -DgroupId=net.sf.hibernate4gwt -DartifactId=hibernate4gwt -Dversion=1.1b -Dpackaging=jar -Dfile="path to jar"/hibernate4gwt-1.1b.jar