1

I want to speed up my compilation with GWT. I'd like to know my gecko verion to use : <set-property name="user.agent" value="gecko..."/>

When I look at Firefox informations, I have : Agent utilisateur Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0

So what value am I suppose to put ? Where could I find this information for next versions ? Same question for Chrome wich only gives me Version 29.0.1547.66 m

Andy G
  • 19,232
  • 5
  • 47
  • 69
Nicolas Zozol
  • 6,910
  • 3
  • 50
  • 74
  • possible duplicate of [What are the possible user.agent values in gwt.xml](http://stackoverflow.com/questions/7992678/what-are-the-possible-user-agent-values-in-gwt-xml) – Thomas Broyer Sep 06 '13 at 08:51
  • I confirm it's a duplicate. The question did not appear in the suggestions. – Nicolas Zozol Sep 06 '13 at 19:46

2 Answers2

3

gecko refers to very old versions of Mozilla, while gecko1_8 refers to all modern versions, including all versions of Firefox 2.0 and later. gecko permutation was removed some time ago.

So for FF just set gecko1_8

Manolo Carrasco Moñino
  • 9,723
  • 1
  • 22
  • 27
2

For Firefox (Gecko) use

<set-property name="user.agent" value="gecko1_8" />

But it depends of the GWT version. Other possible values are ie6, ie8, gecko1_8, safari, opera, ie9.

Olivier Tonglet
  • 3,312
  • 24
  • 40