【发布时间】:2014-01-28 09:54:08
【问题描述】:
我正在尝试调试我的 GWT 应用程序中的一个问题,即某些语言的 cache.html 文件未下载到浏览器。我编译了带有 DEBUG 标志的代码,并看到对于该特定模块,连续排列具有相同的名字。例如。
[INFO] Permutation 0 (strong name 69FCD2BE193AD6EDC4FD6FDEF49874E4) has an initial download size of 98999 and total script size of 98999
[INFO] Permutation 1 (strong name 69FCD2BE193AD6EDC4FD6FDEF49874E4) has an initial download size of 98999 and total script size of 98999
[INFO] Permutation 2 (strong name 69FCD2BE193AD6EDC4FD6FDEF49874E4) has an initial download size of 98999 and total script size of 98999
[INFO] Permutation 3 (strong name 658D84625663D1AD2C6C092B59783BA2) has an initial download size of 99004 and total script size of 99004
[INFO] Permutation 4 (strong name 69FCD2BE193AD6EDC4FD6FDEF49874E4) has an initial download size of 98999 and total script size of 98999
[INFO] Permutation 5 (strong name 69FCD2BE193AD6EDC4FD6FDEF49874E4) has an initial download size of 98999 and total script size of 98999
[INFO] Permutation 6 (strong name 979A66F54677F53C0E4A1E29A2C00FE5) has an initial download size of 94649 and total script size of 94649
[INFO] Permutation 7 (strong name 979A66F54677F53C0E4A1E29A2C00FE5) has an initial download size of 94649 and total script size of 94649
[INFO] Permutation 8 (strong name 979A66F54677F53C0E4A1E29A2C00FE5) has an initial download size of 94649 and total script size of 94649
我已验证特定模块在其 gwt.xml 文件中具有与语言相关的所有条目。例如。
<extend-property name="locale" values="en_US" />
<extend-property name="locale" values="nl" />
<extend-property name="locale" values="da" />
<extend-property name="locale" values="de" />
这种行为的可能原因是什么?
【问题讨论】:
标签: java javascript gwt localization