Hi,What is the value for Chrome browser? I tried this, but it crashed.
Thanks.
<inherits name='com.google.gwt.user.User'/>
<inherits name='com.google.gwt.user.UserAgent'/>
<set-property name='user.agent' value='chrome'/>
Here is the crash:
[ERROR] Unable to get value of property 'user.agent'
com.google.gwt.core.ext.BadPropertyValueException: Property 'user.agent'
cannot be set to unexpected value 'chrome'
at
com.google.gwt.dev.shell.ModuleSpacePropertyOracle.computePropertyValue(ModuleSpacePropertyOracle.java:114)
at
com.google.gwt.dev.shell.ModuleSpacePropertyOracle.getPropertyValue(ModuleSpacePropertyOracle.java:59)
at
com.google.gwt.dev.cfg.ConditionWhenPropertyIs.doEval(ConditionWhenPropertyIs.java:48)
at com.google.gwt.dev.cfg.Condition.isTrue(Condition.java:36)
at com.google.gwt.dev.cfg.ConditionAll.doEval(ConditionAll.java:37)
at com.google.gwt.dev.cfg.Condition.isTrue(Condition.java:36)
at com.google.gwt.dev.cfg.Rule.isApplicable(Rule.java:35)
at
com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind(StandardRebindOracle.java:106)
at
com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:61)
at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:166)
at
com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.java:114)
Viet Pham
On Sun, Feb 1, 2009 at 9:48 AM, Niklas Derouche <[email protected]> wrote:
> Well, for me it only generates the IE version and the time is down to about
> 40 percent.
> clean out the www folder before the compile perhaps?
>
> n.
>
>
> On Sun, Feb 1, 2009 at 6:35 PM, Pham Tran Quoc Viet <
> [email protected]> wrote:
>
>> Hi,Great. That went through without error. How do you verify if only ie6
>> version is created? I looked at the www folder and saw a bunch of html files
>> whose names are some_random_number.html
>>
>> The time it took to compile did not seem to improve either. Thanks.
>>
>> Viet Pham
>>
>>
>> On Sun, Feb 1, 2009 at 9:22 AM, Niklas Derouche <[email protected]> wrote:
>>
>>> Hi,
>>> try:
>>>
>>> <inherits name='com.google.gwt.user.User'/>
>>> <inherits name='com.google.gwt.user.UserAgent'/>
>>> <set-property name='user.agent' value='ie6'/>
>>>
>>> if you see what I mean.
>>>
>>> n.
>>>
>>> On Sat, Jan 31, 2009 at 2:58 AM, Pham Tran Quoc Viet <
>>> [email protected]> wrote:
>>>
>>>> Hi,
>>>> I followed the advise in this thread and added the following to my
>>>> module.gwt.xml:
>>>> <module>
>>>> <set-property name="user.agent" value="ie6" />
>>>> <extend-property name="locale" values="en_US" />
>>>>
>>>> <!-- Inherit required packages -->
>>>> ...
>>>> <!-- Style sheets -->
>>>> ...
>>>> <!-- Entry point -->
>>>> ...
>>>> </module>
>>>>
>>>> I got this error:
>>>> [ERROR] Property 'user.agent' not found
>>>> [ERROR] Failure while parsing XML
>>>>
>>>> Any ideas? Thanks.
>>>> Viet Pham
>>>>
>>>>
>>>>
>>>> On Sun, Nov 9, 2008 at 12:10 AM, surfer <[email protected]>wrote:
>>>>
>>>>>
>>>>> many many thanks
>>>>> using <set-property name="user.agent" value="gecko" />
>>>>> the time of compilation fell down from 3':10" to 1':37"
>>>>>
>>>>> Lorenzo
>>>>>
>>>>> On 8 Nov, 02:13, "Ian Petersen" <[email protected]> wrote:
>>>>> > On Fri, Nov 7, 2008 at 6:06 PM, surfer <[email protected]>
>>>>> wrote:
>>>>> > > since often the main development of an application is viewed and
>>>>> > > debugged with one single type of browser and only sometimes
>>>>> verified
>>>>> > > on the others, does anybody know if it's possible to force GWT
>>>>> > > compiler to build javascript code for just one single target
>>>>> browser,
>>>>> > > in order to increase compiling phase performance ?
>>>>> >
>>>>> > Yes it's possible. The answer lies behind this link:
>>>>> http://groups.google.com/group/Google-Web-Toolkit/search?group=Google.
>>>>> ..
>>>>> >
>>>>> > Ian
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> -------------------------------------------------------
>>> Ave bossa nova, similis bossa seneca
>>>
>>>
>>>
>>
>>
>>
>
>
> --
> -------------------------------------------------------
> Ave bossa nova, similis bossa seneca
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---