Monday, January 30, 2017

Setting set-property-fallback causing error

Hello, 

I'm trying to simulate googlebot reading my GWT based app.  I've added:  <set-property-fallback name="user.agent" value="safari"/>  to my gwt.xml file but keep getting this error and the app never runs:

Possible problem with your *.gwt.xml module file.
The compile time user.agent value (safari) does not match the runtime user.agent value (unknown).
Expect more errors.
cOf_g$ — ConsoleLogger.java:32
Bif_g$ — SimpleConsoleLogHandler.java:36
Phf_g$ — Logger.java:312
Ohf_g$ — Logger.java:302
kif_g$ — Logger.java:236
DIc_g$ — LogConfiguration.java:169
II_g$ — Impl.java:186
vI_g$ — Impl.java:293
(anonymous function) — Impl.java:77

I'm I doing this correctly? Read the threads and seems like <set-property-fallback name="user.agent" value="safari"/>   should work. Any help would be greatly appreciated.

Jean

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment