Getting GWT to run on Eclipse 3.5 & Mac OS X 10.6
Comment by jdoug…@basis.com, Nov 17, 2009:
With much gratitude to Matt Mastracci, I’m back up and running with GWT hosted mode in Eclipse 3.5.1 on Mac OS X 10.5.8 Leopard.
The basic steps are here: http://grack.com/blog/2009/11/16/fix-for-gwt-hosted-mode-crash-with-safari-4-0-4/
I did this:
(1) From http://nightly.webkit.org/, download the current Mac OS X build: WebKit r51062 was built on 17 November 2009 and is a 35.7 MB download.
(2) Open up the .dmg, then drag it (WebKit) to /Applications/.
(3) In Eclipse, select Run->Run Configurations… from the menu.
(4) On the left side, select your GWT Web Application.
(5) Click the Environment tab.
(6) Add variable:
Name: DYLD_FRAMEWORK_PATH
Value: /Applications/WebKit.app/Contents/Frameworks/10.5
(7) Save that [Append environment to native environment should already be selected].
You should be good to go; this worked for me the first time. (Kelly, please jump in if you see any problems with this!)
Source: code.google.com