On Sep 2, 9:51 am, ALF <[EMAIL PROTECTED]> wrote:
> Am I the only one having problems with running GWT in Eclipse?
Yes :)
-- Sorry, I couldn't resist.
> I have
> gone through the step-by-step walk-through (projectCreator,
> applicationCreator, and Eclipse import) for the StockWatcher sample
> but it simply will not run within Eclipse.
Did the step of running the StockWatcher-shell work? Pls. remove
existing StockWatcher files, both in the filesystem and in Eclipse,
recreate the filesystem files via projectCreator and
applicationCreator, then run the StockWatcher-shell. No import yet.
Get a feel for the two project-specific shell scripts, ensure hosted
mode works w/ your setup, tweak the Java source outside an IDE for a
few steps of the tutorial, then import into Eclipse when you have a
feel for what GWT's doing.
>
> C:\dev\workspace\StockWatcher>projectCreator -eclipse StockWatcher -
> out StockWatcher
> C:\dev\workspace\StockWatcher>applicationCreator -eclipse StockWatcher
> -out StockWatcher
> com.google.gwt.sample.stockwatcher.client.StockWatcher
These look fine.
>
> When I run StockWatcher I get classpath problems (it can't find the
> gwt.xml file). I noticed that the package names begin with 'src'
> rather than 'com'. I refactored the package names and the classpath
> problem to the gwt.xml file went away but a new problem surfaced. Now
> I get an IE popup stating that it failed to load module
> com.google.gwt.sample.stockwatcher.StockWatcher. The DevShell says
> it's unable to find type '...StockWatcher'.
Too much, too soon.You shouldn't have to do any refactoring.
I've found that using applicationCreator and projectCreator is my
preferred method of creating new GWT projects using Eclipse. There is
Cypal, but I think it hides too much.
> Am I missing a step somewhere?
It's hard to tell right now. Have you searched this group on Eclipse
+StockWatcher? There are several threads that you might want to
explore.
> I have tried this on Windows Vista
> running Ganymede and on Windows XP running Europa with the same
> problems.
Is there a reason you're not using Ganymede? I doubt there's a
difference at your current level of experimenting w/ GWT, but you
might want to consider upgrading.
-30-
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---