I didn't move the files. I did projectCreator and applicationCreator then imported it into Eclipse and clicked the Run button. It launches the GWT browsers (the shell and the app) but then pops up with an IE dialog. It all runs fine from the command line but I would like the ability to debug in Eclipse. According to the tutorial I shouldn't have to do anything else to run it in Eclipse. The strange thing is I tried it again when I got home by running through the steps and was able to launch the app fine inside Eclipse but I still can't do it on my dev workstation at work. I will keep messing around with it. Obviously it's a configuration issue.
On Sep 2, 10:28 pm, jchimene <[EMAIL PROTECTED]> wrote: > 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 inEclipse > > however. It would be nice for it to simply work without tweaking in > >Eclipsebut 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. > seehttp://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=goog... > 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 runningGWTinEclipse? > > > > Yes :) > > > > -- Sorry, I couldn't resist. > > > > > I have > > > > gone through the step-by-step walk-through (projectCreator, > > > > applicationCreator, andEclipseimport) for the StockWatcher sample > > > > but it simply will not run withinEclipse. > > > > Did the step of running the StockWatcher-shell work? Pls. remove > > > existing StockWatcher files, both in the filesystem and inEclipse, > > > 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 intoEclipsewhen you have a > > > feel for whatGWT'sdoing. > > > > > C:\dev\workspace\StockWatcher>projectCreator -eclipseStockWatcher - > > > > out StockWatcher > > > > C:\dev\workspace\StockWatcher>applicationCreator -eclipseStockWatcher > > > > -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 thegwt.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 newGWTprojects usingEclipse. 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 onEclipse > > > +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 -~----------~----~----~----~------~----~------~--~---
