【发布时间】:2012-06-03 16:11:44
【问题描述】:
我曾经在 Mozilla 中运行过一个应用程序,但我决定使用 Chrome。在 Eclipse 中借助 Google/GWT Compile 菜单选项和 Eclipse 中的正确入口点模块编译项目时,我选择了 BlahBlahBlahSafari.gwt.xml(包含 <set-property name="user.agent" value="safari" />)。项目编译的时候一生成js,我以为不会有什么问题。但我收到了这条消息:
ERROR: Possible problem with your *.gwt.xml module file.
The compile time user.agent value (gecko1_8) does not match the runtime user.agent value (safari). Expect more errors.
Eclipse 中Run Configurations... 菜单中的参数似乎没问题。这种行为的原因是什么,我没有考虑到什么?提前致谢。
【问题讨论】:
标签: java eclipse gwt compilation