On 21 juil, 21:30, rjcarr <[email protected]> wrote:
> With the release of GWT 1.7 I know have 6 permutations compiling, and
> since I have a very targeted audience, I don't need them all.
>
> I found I can change the targets by using something like this in my
> module xml file:
>
> <set-property name="user.agent" value="ie8,gecko,safari"/>
>
> Will this target the latest releases of these browsers?  If not, which
> values should I be using to make this happen?

"gecko" is for "old Firefox" (Gecko 1.7, something like Firefox 1.0).
You should use gecko1_8 instead (which incidentally also targets Gecko
1.9 and upper, as found in Firefox 3.x)

> Can I get a user agent
> to browser mapping?

AFAICT, you'd have to read the property-provider code in com/google/
gwt/user/UserAgent.gwt.xml

>  And I assume that chrome uses safari?

Yep, "safari" actually means "webkit" as in Safari, Chrome, Symbian's
S60 browser (as found within Nokia phones), Mobile Safari (as found in
the iPhone), Android's browser, etc.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to