The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

hvtranho (1) [Avatar] Offline
#1
Hi everyone,
I am learning GWT and thus trying to get things work on my Mac and Eclipse. The example application DashBoard does not work for me: each time when DashBoard-shell starts, the browser (gwt browser I guess) appears only for appr. 3 seconds then disappears. On the Eclipse console I don't see any error messages. The same thing happens if I start the application in Eclipse.

My environment:

Mac OS 10.5
jdk 1.5.0_13
Eclipse 3..3..2
GWT 1.4.61

Thank you,
hvtranho
dialloma (72) [Avatar] Offline
#2
Re: DashBoard-shell does not work
Hi,

You can change the port on wich GWT run. I think the problem is here. If the 8888 is used by anaother application, GWT cannot work on it. Yo must change it on the eclipse configuration.
adam.tacy (269) [Avatar] Offline
#3
Re: DashBoard-shell does not work
Hi Hvtranho,

There is an issue with Leopard and GWT, which seems to cover your situation exactly:

http://code.google.com/p/google-web-toolkit/issues/detail?id=1792

"...The hosted mode does not work in Leopard. In my case, the browser pops up for a second, but quickly disappears. There does not appear to be any useful details given stdout or stderr when it exits/crashes, nor is there anything useful that shows up in Console.app....."

Reading through the comments in the issue if you download the specific 1.4.62 release from here, http://code.google.com/p/google-web-toolkit/downloads/list, you should get it working.

Release 1.5 will not have this issue, so I understand.

Hope that helps!

//Adam