You can set both gecko *and* ie8. That way, you will be able to use IE8 as
well as the hosted mode browser for testing. Also, you don't have to figure
out which js file corresponds to IE8. GWT automatically does browser
sniffing and includes the right js file.

If you plan to migrate to GWT2.x, you can take advantage of dev mode
(earlier known as oophm). You'll have to install a plugin for IE8, which
will allow you to debug your application from IE8 (instead of hosted mode
that you are currently using).

--Sri



On 30 April 2010 01:24, BGL <[email protected]> wrote:

> thanks for the reply.
>
> ie8 is the only browser we support. if I remove the user.agent
> property from the module.gwt.xml and compile the application, it will
> get all the permutations defined in the UserAgent.gwt.xml. And I only
> want to deploy the application for ie8 only. there is no way I can
> know which file it generates is for ie8.
>
> Is there anyway we can compile the code for ie8 only?
>
>
> On Apr 28, 5:15 pm, Sripathi Krishnan <[email protected]>
> wrote:
> > > When it is changed to ie8 as following, it gets the Uncaught exception
> > > escaped Error when I launch it with the host mode browser.
> > > <set-property name="user.agent" value="ie8" />
> >
> > Well, you are telling GWT "compile only for IE8", and then using the
> hosted
> > mode browser (which is and old version of firefox). As a result, GWT ends
> up
> > using Activex to instantiate XmlHttpRequest, which obviously doesn't
> exist
> > in firefox.
> >
> > You should either remove the user.agent property from your
> module.gwt.xml,
> > or compile and deploy your application and then test with IE8.
> >
> > --Sri
> >
> > On 28 April 2010 04:50, BGL <[email protected]> wrote:
> >
> >
> >
> > > GWT1.7 is supposed to support IE8.
> >
> > > In the module's gwt.xml file, it is working fine with the property
> > > setting for IE6.
> > > <set-property name="user.agent" value="ie6" />
> >
> > > When it is changed to ie8 as following, it gets the Uncaught exception
> > > escaped Error when I launch it with the host mode browser.
> > > <set-property name="user.agent" value="ie8" />
> >
> > > [ERROR] Uncaught exception escaped
> > > com.google.gwt.core.client.JavaScriptException: (TypeError):
> > > 'XMLHttpRequest' is undefined
> > > number: -2146823279
> > > description: 'XMLHttpRequest' is undefined
> > > at
> >
> > >
> com.google.gwt.user.client.impl.HTTPRequestImpl.doCreateXmlHTTPRequest(Native
> > > Method)
> > > at
> >
> > >
> com.google.gwt.user.client.impl.HTTPRequestImpl.createXmlHTTPRequest(HTTPRequestImpl.java:
> > > 53)
> >
> > > Any suggestion?
> >
> > > --
> > > 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]<google-web-toolkit%[email protected]>
> <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
> >
> > --
> > 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]<google-web-toolkit%[email protected]>
> .
> > For more options, visit this group athttp://
> groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
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