Re: GWT Compile Project problem in Eclipse

2009-05-01 Thread Guidobot
Big thanks to everyone for your excellent replies, especially Jamie for the links, etc. My background is in native C++, with some C#/ASP.NET, but I am a novice to eclipse/GWT. I hope this is good reference for others. Cheers, Guidobot On Apr 30, 7:51 am, Keith Platfoot kplatf...@google.com

Re: GWT Compile Project problem in Eclipse

2009-04-30 Thread Alex Rudnick
Hey Guidobot, Are you hitting the red toolbox button to do the compile? I don't think that button is supposed to pop up a web browser. (you could do a compile to js without having the server running, for example). Let us know if that doesn't answer your question! Thanks, On Wed, Apr 29, 2009

Re: GWT Compile Project problem in Eclipse

2009-04-30 Thread Guidobot
Thanks for the reply Alex. I was basically working through the Stock Watcher tutorial to ensure everything was working. In step 2 this says After the application is compiled, a new browser window opens., which was the case using hosted mode. There was also a note about Firefox being the default

Re: GWT Compile Project problem in Eclipse

2009-04-30 Thread Keith Platfoot
Hi Guidobot, If I understand correctly, when you compile the project from either the Eclipse toolbar button or from ant, the resulting application is broken (pop-up doesn't work), but if you compile from the GWT hosted browser, it does? If this is the case, we need to figure out what is going

Re: GWT Compile Project problem in Eclipse

2009-04-30 Thread Isaac Truett
Guidobot, I think you're just confusing the compile/browse feature of hosted mode with a normal compile operation. Opening a browser window to show your newly compiled application isn't a part of compilation, it's an extra that the hosted mode UI does for you. Running compile from Ant, Eclipse,

Re: GWT Compile Project problem in Eclipse

2009-04-30 Thread Jamie
Btw, after I have compiled, can I just link to a particular html file using IE to see the project run? StockWatcher.html didn't work - perhaps I need apache running or something when not using GWT host? Cheers Yep... you need to run some sort of web server/container, such as Apache Tomcat

Re: GWT Compile Project problem in Eclipse

2009-04-30 Thread Keith Platfoot
Sorry Guidobot, I think I misunderstood your original question. If you were expecting the Eclipse button or ant to pop-up a browser window at the end of compilation, then as Alex and Isaac pointed out, this is a function of the GWT hosted browser only. I apologize for the confusion! Keith On

GWT Compile Project problem in Eclipse

2009-04-29 Thread Guidobot
Has anyone else had this problem? I compile a project from Eclipse, which works, but a browser does not show pop-up (running the JS). Oddly, all works fine if I Compile/Browse from the GWT host. On the otherhand, 'ant build' has a similar problem (it compiles but does not launch a browser).