Compilation Time

0 views
Skip to first unread message

Twentyseven

unread,
Apr 9, 2009, 12:00:44 PM4/9/09
to Google Web Toolkit
Hello,

My application beginning to be important, the compilation time is very
important (about 3 hours).
I tried to reduce it by adding the following lines in my Main.gwt.xml
module file :

<extend-property name="locale" values="fr"/>
<extend-property name="user.agent" values="ie6,gecko1_8,safari" />

As I understand, I should only have 3 xxxx.cache.html files.
But at the end of the compilation process, I have ten of these files,
as if the compilation took the 5 browser and 2 language.

What is wrong in my config file ?

Thanks,

Vitali Lovich

unread,
Apr 9, 2009, 12:35:16 PM4/9/09
to Google-We...@googlegroups.com
To force the supported user agents:
<set-property name="user.agent" value="ie6">
<set-property name="user.agent" value="gecko1_8">
<set-property name="user.agent" value="safari">

You can only pick one at a time - you can't do all at once.

extend-property is for locales and means exactly what it says - you are adding a locale, not setting it.  So you actually have two - default & fr.  Remove it, & the number of permutations will go down.

You see 10 because you don't actually set the user.agent & you add an extra locale (5 user agents * 2 locales = 10 permutations)

Twentyseven

unread,
Apr 11, 2009, 9:40:50 AM4/11/09
to Google Web Toolkit
But how can I delete the default locale to set just the one I need ?


On 9 avr, 18:35, Vitali Lovich <vlov...@gmail.com> wrote:
> To force the supported user agents:
> <set-property name="user.agent" value="ie6">
> <set-property name="user.agent" value="gecko1_8">
> <set-property name="user.agent" value="safari">
>
> You can only pick one at a time - you can't do all at once.
>
> extend-property is for locales and means exactly what it says - you are
> adding a locale, not setting it.  So you actually have two - default & fr.
> Remove it, & the number of permutations will go down.
>
> You see 10 because you don't actually set the user.agent & you add an extra
> locale (5 user agents * 2 locales = 10 permutations)
>

Vitali Lovich

unread,
Apr 11, 2009, 9:52:54 AM4/11/09
to Google-We...@googlegroups.com
You'd have to hack the source to force a locale.  Or just change it so that the default locale is the one you want.
Reply all
Reply to author
Forward
0 new messages