Hi Blaise, Here's another possibility - can you check to see if the project you're trying to compile has a .gwt-tmp folder laying around? That folder contains data from previous compilations / hosted mode startups to make both run faster the next time around, but it's possible that they're holding stale information that is preventing your application from correctly loading up in hosted mode.
And here's another idea - have you tried setting a break point in your project's entry point class' onModuleLoad() method and running hosted mode with a debugger? If you haven't, give that a go and let us know if the breakpoint is hit, and if so, how far you can go before running into problems with loading up the application in hosted mode. The GWT shell scripts (assuming you're referring to the projectCreator and applicationCreator scripts) don't generate the 'www' directory by default. The -compile script you use to compile your application is passed a -out www argument which tells it to generate all output in the specified -out directory, so it's normal that you need to run a compile before getting a 'www' directory with the generated output. Hope that helps, -Sumit Chandel On Mon, Nov 10, 2008 at 8:30 AM, Blaise <[EMAIL PROTECTED]> wrote: > > Hi again, > > Thanks Chandel for the reply. I will try to clarify some things: > > I didn't upgrade all my projects to gwt-1.5.3. I only created a new > project (just for testing) using gwt-1.5.3. The old projects all are > still using gwt-1.4. > > Only one of my projects shows a blank page in hosted mode. The page is > blank and the "Compile/Browse" button is disabled. > I don't have anything else to add really, I am puzzled with this > problem because I don't see anything wrong in the configuration. If I > create a new project (from scratch) or use a different project, they > all work okay except for that one project. > > Isn't the shell script that comes with gwt supposed to create a www > folder? In my case it doesn't do that. I need to compile in order to > obtain the www folder. > > These are the things that I can currently clarify. I might add more as > I go through. > > Your help is appreciated. > > Thanks again, > > --Blaise > > > On Nov 7, 9:38 am, Sumit Chandel <[EMAIL PROTECTED]> wrote: > > Hi Blaise, > > > > I can't think of any reasons why a project you created with GWT 1.4 > > wouldn't keep working using the GWT 1.4 libraries. > > > > You mentioned that you recently upgrade to GWT 1.5.3 and that during > > the upgrade, it somehow changed some settings in Eclipse that could be > > causing some of the issues you're seeing. > > > > The only kind of upgrade that I believe could cause a problem within > > Eclipse would be if you had variables defined that were pointing to > > the GWT libraries and you updated those to point to 1.5, making older > > run configurations now use 1.5 libraries, which is not going to work. > > > > Other than that, I would need a bit more info to figure out what's > > going on. Perhaps some details on how the project and yourhostedmode > > run configuration are setup? > > > > Hope that helps, > > -Sumit Chandel > > > > On Tue, Nov 4, 2008 at 6:36 AM, Blaise <[EMAIL PROTECTED]> > wrote: > > > > > Hi, > > > > > I have a project that I created long time ago using projectCreator and > > > applicationCreator with Eclipse and GWT 1.4. The project used to work > > > perfectly in > > > bothhostedand webmode. > > > > > Today I tried to open it, it shows ablankpageinhostedmodesame > > > thing in webmode. Thepageloads faster because I think nothing is > > > happening anymore (no compile ...). For this project I still use the > > > old version of GWT 1.4. > > > This behavior started when I newly created a test project using GWT > > > 1.5. It messed up something in Eclipse which I thought to have been > > > fixed but seems not. > > > > > Other projects work fine. Anybody has any idea why only one of my > > > projects got messed up and shows ablankpageinhostedmode? > > > > > Thank you, > > > > > --Blaise > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
