Puzzles on getting start GWT and eclipse.

2 views
Skip to first unread message

jack.tang

unread,
May 18, 2006, 2:26:41 PM5/18/06
to Google Web Toolkit
>From the document
http://code.google.com/webtoolkit/gettingstarted.html#New.
It said:
Just click the green "Run" button at the top of the window to start
your project in hosted mode.

And I wonder what it exactly to "Run", you know, there is drop-down
list in "Run" button, and what Class should specified? or I lost
something?

Thanks
/Jack

Mr. Monster

unread,
May 18, 2006, 2:32:39 PM5/18/06
to Google Web Toolkit
You missed something, if you follow the instructions exactly and click
Run it will start up the example app. No need to configure anything
inside eclipse.

jack.tang

unread,
May 18, 2006, 2:40:39 PM5/18/06
to Google Web Toolkit
Well, can you explain how to hook hosted browser into eclipse manually?
using MyApplication.launch?

Roux

unread,
May 18, 2006, 3:02:29 PM5/18/06
to Google Web Toolkit
It doesn't work for me either. The directions are either wrong,
incomplete, or don't work with every version of eclipse.

jack.tang

unread,
May 18, 2006, 3:07:41 PM5/18/06
to Google Web Toolkit
When I click "Run" button, it always run the first application in the
drop list and the *.launch doesnot work at all. How to load the
*.launch, anyone knows?

Adrian Marti

unread,
May 18, 2006, 3:17:07 PM5/18/06
to Google Web Toolkit
in the docs it says to use com.google.gwt.dev.GWTShell as the startup
class, which may mean main class for Run dialog? I tried this but had a
null pointer on logging setup.
Caused by: java.lang.NullPointerException
at org.apache.commons.logging.LogFactory.newFactory

jack.tang

unread,
May 18, 2006, 3:18:51 PM5/18/06
to Google Web Toolkit
Well, I think I found something.
The main class is com.google.gwt.dev.GWTShell, which hosts in
gwt-dev-windows.jar. It is missed in the tutorial. and
swt-win32-3139.dll should be in the same dir as gwt-dev-windows.jar.
You can try to run it.

But,still, i don't have to hook the *.launch:(

drusifer

unread,
May 18, 2006, 3:24:54 PM5/18/06
to Google Web Toolkit
I was having a similar issue originally too. When I pressed Run it
just ran my other project. Then I went into the "Run..." dialogue and
noticed that a new Runner was set up for my GWT project and that one
worked.
-Drusifer

jack.tang

unread,
May 18, 2006, 3:27:46 PM5/18/06
to Google Web Toolkit
Bingo! I got the answer!

eclipse 3.1.1
pls copy MyApplication.launch to
{eclipse.home}\.metadata\.plugins\org.eclipse.debug.core\.launches

And you will find MyApplication in the "Run" list, Runnnnn it....

dealyb

unread,
May 18, 2006, 4:34:00 PM5/18/06
to Google Web Toolkit
Hi Jack, when I launch the configuration page reads
com.google.gwt.dev.GWTShell for the main class
and my project name "opportunity" under the project
tab with no checkboxes checked. and this launches
the hosted mode for me. I hope this helps you.
regards,
Brian

Reply all
Reply to author
Forward
0 new messages