[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-10-07 Thread Miguel Méndez
Here is some more information. I ran into this problem while testing the plugin against GWT 1.7, trunk, and 2.0 MS1. It looks like whenever we generate the hosted.html we use the timestamp of that file as it was inside of the gwt-dev-PLAT.jar. It would seem to me that we want to touch that file

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-10-07 Thread alexandrupop
Had the same problem on Mac. I fixed it by removing Safari cache from / Library/Caches. On Sep 18, 3:37 pm, Marko Vuksanovic markovuksano...@gmail.com wrote: I had the same problem.. After struggling for 2 days I figured out that the embedded jetty loads the hosted.html file form cache (C:

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-10-07 Thread Sky
I get this error when I switch from the GWT compiled from Trunk back to 1.7.1 or any previous versions. I only know two ways to solve it: 1) Open up war\projectname\hosted.html and edit line 16 from var $hostedHtmlVersion=2.0; to var $hostedHtmlVersion=1.6; (which I think

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-10-07 Thread Miguel Méndez
I entered the issue 4112http://code.google.com/p/google-web-toolkit/issues/detail?id=4112, to track this problem. 2009/10/7 Miguel Méndez mmen...@google.com Here is some more information. I ran into this problem while testing the plugin against GWT 1.7, trunk, and 2.0 MS1. It looks like

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-10-07 Thread Miguel Méndez
This is definitely a bug and you should be able to switch between the two versions. As a work around try the following: 1) Delete the current war/MODULE/hosted.html file 2) Re-run hosted mode and see the failure and stop hosted mode (this causes a new hosted.html file with the right version to be

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-10-07 Thread Sky
Hmm, I just tried changing between 3 different versions (trunk, 1.7.1 and 2.0MS1) and it worked flawlessly; no error. The hosted.html file has maintained 2.0 for that variable through each change. The only thing I can think of that fixed it is that I closed Eclipse and launched it again before

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-10-06 Thread Alex Bertram
Thank you Marko!! This was starting to feel like a 2 day problem!! Best, Alex On Sep 18, 2:37 pm, Marko Vuksanovic markovuksano...@gmail.com wrote: I had the same problem.. After struggling for 2 days I figured out that the embedded jetty loads the hosted.html file form cache (C: \Documents

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-09-21 Thread Miguel Méndez
I've also run into this problem... On Fri, Sep 18, 2009 at 8:37 AM, Marko Vuksanovic markovuksano...@gmail.com wrote: I had the same problem.. After struggling for 2 days I figured out that the embedded jetty loads the hosted.html file form cache (C: \Documents and

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-09-21 Thread John Tamplin
On Mon, Sep 21, 2009 at 1:06 PM, Ray Ryan rj...@google.com wrote: Where does the error message live? This seems like the perfect time to make it a bit more helpful, even if it just suggests to people that they check for both browser and server caching.

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-09-21 Thread Rajeev Dayal
Could we modify the hosted mode servlet so that it set the appropriate no-cache headers on hosted.html? I've also run into this issue due to browser caching. Also, is this file re-generated every time hosted mode is started up? If not, it definitely should be. On Mon, Sep 21, 2009 at 1:26 PM,

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-09-21 Thread John Tamplin
On Mon, Sep 21, 2009 at 3:17 PM, Rajeev Dayal rda...@google.com wrote: Could we modify the hosted mode servlet so that it set the appropriate no-cache headers on hosted.html? I've also run into this issue due to browser caching. Also, is this file re-generated every time hosted mode is

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-09-21 Thread Ray Ryan
Time to put it up on rietveld again? Or is there already an url? On Mon, Sep 21, 2009 at 12:32 PM, John Tamplin j...@google.com wrote: On Mon, Sep 21, 2009 at 3:17 PM, Rajeev Dayal rda...@google.com wrote: Could we modify the hosted mode servlet so that it set the appropriate no-cache

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-09-21 Thread John Tamplin
On Mon, Sep 21, 2009 at 3:38 PM, Ray Ryan rj...@google.com wrote: Time to put it up on rietveld again? Or is there already an url? Same one is still there - http://gwt-code-reviews.appspot.com/56807/show -- John A. Tamplin Software Engineer (GWT), Google

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-08-12 Thread Ray Ryan
We could make the error message a bit more helpful. If I'm following the conversation correctly I think I've bumped into this due to browser caching. Suggesting that possibility in the error message, or offering a link to force a reload in a browser busting way (e.g. adding a query param wtih a

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-08-11 Thread John Tamplin
On Tue, Aug 11, 2009 at 7:50 PM, Fred Sauer fre...@google.com wrote: When switching GWT versions on my project I get this error (when I'm lucky): *[ERROR] Invalid version number 2.0 passed to external.gwtOnLoad(), expected 1.6; your hosted mode bootstrap file may be out of date; if you are

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-08-11 Thread Fred Sauer
On Tue, Aug 11, 2009 at 5:14 PM, John Tamplin j...@google.com wrote: On Tue, Aug 11, 2009 at 7:50 PM, Fred Sauer fre...@google.com wrote: When switching GWT versions on my project I get this error (when I'm lucky): *[ERROR] Invalid version number 2.0 passed to external.gwtOnLoad(),

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-08-11 Thread John Tamplin
On Tue, Aug 11, 2009 at 8:22 PM, Fred Sauer fre...@google.com wrote: I'm not sure I understand the issue. If you have different versions of hosted.html and GWT, things are likely to not work and that is why that check was added in 1.6. I don't see how you could have the incorrect contents

[gwt-contrib] Re: Invalid version number 2.0 passed to external.gwtOnLoad()

2009-08-11 Thread Fred Sauer
On Tue, Aug 11, 2009 at 5:47 PM, John Tamplin j...@google.com wrote: On Tue, Aug 11, 2009 at 8:22 PM, Fred Sauer fre...@google.com wrote: I'm not sure I understand the issue. If you have different versions of hosted.html and GWT, things are likely to not work and that is why that check was