开发者

GWT Reset Cleared *.cache.html file

I was working on fixing a bug in my GWT+GAE application. I kept trying to make changes and the bug persisted. So I decided to try changing a text message in a debug statement and noticed that the text didn't change. I assumed this was because something was being cached. So I cleared everything I could think of (clear brower's history, rebuild the entire project, rebooted my computer, Eclipse -> Project -> Clean...). Finally I gave up and searched for the text to see where it was hiding. I found it in a .cache.html file so I deleted that file. Now when I r开发者_开发知识库un the project, I get the following message:

[WARN] No file found for: /catserve/F0262AF37428E46FCD5FC373EED66DA6.cache.html

And the application just shows a blank webpage even after trying everything I can think of to clear the project before and after deleting the file.

How do I reset everything?

Thanks.


I had the same problem. Simple text changes weren't being reflected in the browser, even after a complete reboot.

To solve the issue, "GWT Compile Project..." directly, via the Google menu (in the toolbar).

I thought that Hosted Mode would address this issue, but it appears that things can get out of sync from time to time. After compiling directly, things began working again -- simple changes could be seen in the browser after saving the code, waiting for the auto-compile, and reloading the page.


I know one thing for sure i.e. every time you change the code, xyz.cache.html name changes as xyz is "MD5 generated code". So, once you change the source code and look for the same file, it will not be there as GWT compiler had already created new .cache.html file with new MD5 code as file name.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜