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