有一個我曾經在Mozilla中運行的應用程序,但我決定使用Chrome。在Eclipse中編譯項目時,我選擇了BlahBlahBlahSafari.gwt.xml
(其中包含<set-property name="user.agent" value="safari" />
),其中包含Google/GWT Compile
菜單選項和Eclipse中正確的入口點模塊。只要編譯項目時生成JS,我就認爲我不會有任何問題。不過,我得到這個消息:編譯時user.agent值與運行時user.agent值不匹配
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...
菜單似乎是好的。什麼可能是這種行爲的原因,我沒有考慮到什麼?提前致謝。
是的,我知道,在我的情況下有一個'價值=「safari」'。 –