With the very exciting release of GWT 1.5 RC1 finally here, I thought I'd drop a quick post in to show you how to upgrade ToCollege.net to RC1. If you're not familiar with it, ToCollege.net is an open source GWT 1.5 example codebase that serves as the sample code for the book Pro Web 2.0 Application Development with GWT. Read more about it here.

Add GWT 1.5 RC1 to your Maven Repository

1) Download GWT 1.5 RC1 for your OS http://code.google.com/webtoolkit/download.html
2) Unzip
3) cp workspace/ProGWT/Setup/maven/gwt/install-* Downloads/gwt-mac-1.5.0.rc1/
4) cd Downloads/gwt-mac-1.5.0.rc1/
5) chmod a+x install*
6) ./install-mac 1.5.0.rc1

This should look something like this:

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] ----------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [install:install-file] (aggregator-style)
[INFO] ----------------------------------------------------------------------------
[INFO] [install:install-file]
[INFO] Installing /Users/jdwyah/Downloads/gwt-mac-1.5.0.rc1/gwt-servlet.jar to /Users/jdwyah/.m2/repository/com/google/gwt-servlet/1.5.0.rc1/gwt-servlet-1.5.0.rc1.jar
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------

Update ToCollege.net to revision 85:

svn up

Revision notes: Update for GWT 1.5.0 RC1:
*Needed to change TabPanel to DecoratedTabPanel and PopupPanel to DecoratedPopupPanel
*Copied in changed to GWT css.
*Moving to the net.tocollege.gwt_maven GWT Maven plugin. Had been using xi8ix-gwtc, but this plugin did unescessary work and didn't seem to be up to date. Run Setup/maven/install-all to install the net.tocollege GWT Maven plugin. (See the pom in revision 85)

Install the new net.tocollege.gwt_maven plugin

cd Setup/maven/