I second Rajeev's comments, there are a couple of oddities that you may
experience when upgrading.

That said, I'm wondering about the following (@m.militz):

1. I'm assuming you meant XYZ.nocache.js and not XYZ.cache.js. Is this
correct?
2. While GWT does produce a .html when you create a new project, it does not
create this file every time, and it does not alter it once created. Put
another way, I don't believe that GWT is mucking with your Project.html file
(not even during upgarde). Is your script tag, within Project.html,
incorrect for some reason? What happens if you simply change it to reference
<module>/<module>.nocache.js?

- Chris

On Mon, Jan 11, 2010 at 12:33 PM, Rajeev Dayal <[email protected]> wrote:

> Hi,
>
> Have you seen an instance where GWT tries to load the nocache.js file
> directly from the root of your war folder? What does the HTTP GET request
> look like?
>
> There is definitely a bug in GWT when switching between SDKs. The problem
> is twofold:
>
> 1) The hosted.html file does not get regenerated. The workaround for this
> is to blow away the generated subdirectories of the war directory after
> switching SDKs.
> 2) Because of the caching rules that GWT's embedded Jetty uses, hosted.html
> is not re-requested by the browser whenever it is requested. The workaround
> for this is to clear your browser's cache.
>
>
>
> Rajeev
>
> On Mon, Jan 11, 2010 at 11:16 AM, [email protected] <
> [email protected]> wrote:
>
>> Thanks for the hints, but all of this issues i could handle by myself.
>> the problem is gwt produces erroneus code. it tries loading
>> XYZ.cache.js files from the war folder, but into the war fiolder are
>> subdirectories where the js files lies.
>> It looks like this only happens on special occasions but i still can“t
>> fire out what is responsible for that.
>>
>> On 9 Jan., 23:15, Sorinel C <[email protected]> wrote:
>> > Hi all,
>> >
>> > There small tricks related with the environment, which aren't
>> > documented, in the GWT tutorial.
>> >
>> > Here you can find what helped me to solve the migration issues:
>> >
>> > http://ui-programming.blogspot.com/2009/12/update-your-application-to.
>> ..
>> >
>> > Cheers!
>>
>> --
>> 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]<google-web-toolkit%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>>
>>
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
--
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