Sat 31 Oct 2009
GWT: Using trunk
Posted by nola under Fun, Uncategorized, gwt
No Comments
Lately, I have been fascinated with Google Web Toolkit as of late. What you say, you love ruby but doing java?!!? My ruby friends will probably smack me but really i love all languages. The widgets and rpc stuff, that is pretty cool as well as learning how to do MVP. There are some new features in trunk that will be released “this fall” but I don’t want to wait that long, so last night i set about to checkout and compile trunk and try it out!
1. I installed the latest version of eclipse Galileo, with the Google plugin
http://code.google.com/eclipse/
2. Checkout the source code
http://code.google.com/webtoolkit/makinggwtbetter.html#workingoncode
Make sure you have ant installed. It takes awhile, i think maybe 20 mins or so on my macbook.
3. Setup the API directory in the Preferences for GWT
It took a while (and many searches) of messing around to figure out how to switch to the trunk version of the API.
Go to Eclipse > Preferences. Find the Google Web Toolkit on the left. It has an interface to add/remove APIs. Click add, add the path like so:
~/gwt/trunk/build/lib
I named it “trunk”
4. Create project
Create a new Web Application Project, select “trunk” as the version of API. And now you are on your way!
Once i’ve done a little more with it, I’ll write about some of the new features that are really awesome.
