On Sep 2, 1:11 pm, ALF <[EMAIL PROTECTED]> wrote:
> I followed your steps and ran the shell from the command line.  That
> worked perfectly.  I still have a problem running it in Eclipse
> however.  It would be nice for it to simply work without tweaking in
> Eclipse but if I have to run it in hosted mode I will do that for now.

Ahh... A Clue.

Did you copy the files from the -out directory to where your server
can find them?

Hosted mode doesn't use JavaScript. When you wrote "... get an IE
popup stating that it failed to load module...", had I been paying
attention, that statement should have triggered the above question. I
think that even on Windows (I use Gnu/Linux), your use of IE relies on
a custom httpd and a custom directory.

If this is the case, you'll want to review the steps to copy the
compiled files + other static files to a directory where your custom
httpd can find them. Pls. see
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=FAQ_HostedModeNoServer
for more info.

-30-

>
> The reason I haven't upgraded to Ganymede at my shop is because I'm
> working on some things that I don't want to break at the moment and
> nobody else has upgraded to Ganymede here yet.  I set it up at home to
> play with it though.
>
> Thanks for your help!
>
> On Sep 2, 11:23 am, jchimene <[EMAIL PROTECTED]> wrote:
>
> > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to