Thanks for the hint about looking in the .nocache.js file.  My
permutations were caused by:

<extend-property name="locale" values="en"/>

This actually tried to compile "default" and "en".  Removing this line
works in our application as we only have language bundles in English
at the moment.

Martin

On Oct 31, 2:26 am, Sripathi Krishnan <sripathi.krish...@gmail.com>
wrote:
> We are using all the modules except the GwtExt ones, and are able to get
> down to a single permutation - so it is likely that the permutations are
> caused by something over there.
>
> You could try opening up the .gwt.xml for the GWT EXT modules and see if
> they have any <replace-with> statements. That would throw light on what
> properties are driving the permutations.
>
> You could also pass in the -style PRETTY to gwtc, and then look at the
> generated <module>/<module>.nocache.js file. It usually has a map from
> various properties (user agent, language, and your mysterious parameter) to
> the strong, MD5 file name. By inspecting the table, you should be able to
> figure out what is causing the extra permutations. This is how the map looks
> on my machine --
>
>     try {
>       unflattenKeylistIntoAnswers(['opera'],
> '34478C007220DB07F52AB22169457501');
>       unflattenKeylistIntoAnswers(['ie6'],
> '872904FEB2B0C8ABFEEF5D761EE7FEF4');
>       unflattenKeylistIntoAnswers(['safari'],
> 'B30F09E1C9B5B042E928F79F73C1C79B');
>       unflattenKeylistIntoAnswers(['gecko1_8'],
> 'B712029A53D248F96310715A52A54CBA');
>       unflattenKeylistIntoAnswers(['gecko'],
> 'BAAA33CCD5FA4984C7DB8207E830D268');
>       unflattenKeylistIntoAnswers(['ie8'],
> 'C1B0450CB888E93E17495AEDAE49EB45');
>       strongName = answers[computePropValue('user.agent')];
>       initialHtml = strongName + '.cache.html';
>     }
>      catch (e) {
>       return;
>     }
>
> --Sri
>
> 2009/10/29 Martin Hutchinson <mhutchin...@gmail.com>
>
>
>
> > To speed up development I've tried to cut down the number of
> > permutations that are compiled by fixing the language and user agent.
> > I'm curious as to why I can't get the number of permutations down to
> > 1, even when fixing the user agent to "gecko" and the language to
> > "en".  I've tried to increase the compiler output from INFO to TRACE,
> > but the sheer volume of output makes it hard to pick out the important
> > bits.
>
> > This is the .gwt.xml for the module, if this helps shed any light:
>
> > <module rename-to="viewer">
>
> >        <!-- Other modules that we depend on. -->
> >        <inherits name='com.google.gwt.user.User'/> <!-- Core GWT -->
> >    <inherits name="com.google.gwt.i18n.I18N"/> <!--
> > Internationalization -->
> >    <inherits name='com.gwtext.GwtExt'/> <!-- GWT-Ext -->
> >    <inherits name="com.gwtextux.GwtExtUxNoScript"/> <!-- GWT-Ext Ux --
>
> >    <inherits name="com.allen_sauer.gwt.log.gwt-log" /> <!-- GWT
> > logging -->
>
> >        <entry-point class='com.example.MyGWTApplication'/>
>
> >    <source path="client"/>
> >    <source path="shared"/>
> >    <source path="formatting"/>
> >    <source path="rpc"/>
> >    <source path="serialization"/>
> >    <source path="servlets"/>
> >    <source path="utils"/>
>
> >    <extend-property name="locale" values="en"/>
>
> >    <extend-property name="log_level" values="OFF" />
>
> >     <!-- For dev only: only support FireFox. This speeds up
> > compilation -->
> >    <set-property name="user.agent" value="gecko" />
>
> > </module>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to