The only option is to decrease the number of permutations.

Typically in development you'll pick 1 browser & 1 locale to work with.  You
should only be compiling for everything once you are ready to deploy.

The reason you have 25 files is your forgetting about the default locale.

Of course the files are going to be big when you compile in PRETTY.
Generally, it's really really rare that you need to actually compile in that
mode (even during developoment).  Justify why exactly you are compiling in
PRETTY?  You should be using hosted mode for debugging & only pretty if
you've got a bug that doesn't appear in hosted mode (which should be rare).

Some additional options:

-draftCompile (never benchmarked what kind of boost this gives)
-localWorkers X where X is the number of CPUs you have.

<define-property name="locale" value="it"/> sets the locale to it I believe
(or is it set-property?)

On Mon, Apr 20, 2009 at 5:39 AM, pepgrifell <[email protected]> wrote:

>
> hi there,
>
> I'm using GWT 1.5.3 in Windows XP and jdk1.6.0_05. The GWT compiler
> takes like 7 minutes to compile. If I compile just for ie and firefox,
> the it takes about 5 min.
>
> In my module.gwt.xml file I define the locales:
>
>  <extend-property name="locale" values="it" />
>  <extend-property name="locale" values="pt" />
>  <extend-property name="locale" values="en" />
>  <extend-property name="locale" values="es" />
>
> In gwt-user.jar, in UserAgent.gwt.xml there are 5 browsers defined:
>
> <define-property name="user.agent"
> values="ie6,gecko,gecko1_8,safari,opera"/>
>
> When I check the compiled code, I see that 25 *.cache.html files are
> generated. If I define 4 locales and there are 5 browser, should the
> compiler generate 20 *.cache.html files ?  My application is not big
> and the size of each *.cache.html file is about 1,8 MB. That's normal
> or the size should be smaller ? (my app. has about 5 screens).
> I use this ant code to compile it :
>
> <java classname="com.google.gwt.dev.GWTCompiler" failonerror="true"
> classpathref="classpathAnthemaWeb" maxmemory="512m" fork="true">
>   <arg line="-out ${myProjectPath}/build/www"/>
>   <!-- <arg line="-style OBFUSCATE"/> -->
>   <arg line="-style PRETTY"/>
>   <!-- <arg line="-style DETAILED"/> -->
>   <arg value="${moduleGWT}"/>
> </java>
>
> Are there any options to cut down the compiling time ? (i'm using
> PRETTY style in development).
>
> Thanks !
> >
>

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