GWT 1.6.3 - update procedures for Mac

1. Download the GWT folder:

2. Install GWT jars into the Maven2 Repository:

cd /opt/gwt/gwt-mac-1.6.3/

mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-user -Dversion=1.6.3 -Dpackaging=jar -Dfile=gwt-user.jar 


mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-servlet -Dversion=1.6.3 -Dpackaging=jar -Dfile=gwt-servlet.jar


mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-dev -Dversion=1.6.3 -Dpackaging=jar -Dfile=gwt-dev-mac.jar

3. Change your filter/properties files e.g. uki.properties:

GWT_DEV_JAR = /Users/uki/.m2/repository/com/google/gwt/gwt-dev/1.6.3/gwt-dev-1.6.3.jar

M2_REPO= /Users/uki/.m2/repository

4. Change your ANT build.xml (project specific):

< property name="GWT_SERVLET_PATH" value="${M2_REPO}\\com\\google\\gwt\\gwt-servlet\\1.6.3" / > 
< property name="GWT_USER_PATH" value="${M2_REPO}\\com\\google\\gwt\\gwt-user\\1.6.3" / >
< fileset dir="${GWT_SERVLET_PATH}"> < include name="*.jar" / > < /fileset >


No comments:

Post a Comment