gist JS

Thursday, May 29, 2008

Updating ToCollege.net to 1.5 RC1

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/




Anonymous said...

Hey Jeff !

Books look great so far -- just starting out getting the environment running.

With RC1 for Mac -- I am getting an error on the cp command for Frameworks .. looks like no more Frameworks for GWT 1.5 RC1?

The folder is there for 1.4 .. and since this is the first time I downloaded 1.5 not sure there was a framework directory there before or not.

Is this "error" normal and ok and should now be ignored?


Unknown said...

Is this yet another book that is dead in a year? Wasted $$$. How about updating for 1.7