English version
I am working on an international CRM project based on JDK 6, GWT 1.5, MyGWT/Ext GWT, tomcat 6, maven, hibernate, spring, Oracle, ...
This business application must worked with Firefox 2, IE 6/7 and 9 locales (the target is about 15 locales).
This a very large GWT application and it takes a long time to compile, about 12 mn "only" for GWT maven module : this is a long time in development mode.
GWT spends time to compute permutations : create javascript file per browser/locale. With this kind of application, GWT produces 50 permutations :
- 5 browsers : ie6, opera, gecko1_8, safari, gecko
- 10 locales : default, de_DE, en_UK, fr_FR, hr_HR, hu_HU, it_IT, nl_NL, pl_PL, pt_PT
This is my module.gwt.xml :
<module>
<!-- Inherit the core Web Toolkit stuff. -->
<inherits name="com.google.gwt.user.User"></inherits>
<inherits name="com.google.gwt.i18n.I18N"></inherits>
<!-- Add support -->
<inherits name="com.aaa.bbb.ccc.XXXCore"></inherits>
<!-- Add mygwt support -->
<inherits name="net.mygwt.ui.MyGWT"></inherits>
<!-- Add hibernate4gwt support -->
<inherits name="net.sf.hibernate4gwt.Hibernate4Gwt"></inherits>
<inherits name="net.sf.hibernate4gwt.SqlDates"></inherits>
<!-- Add gwt-log support -->
<inherits name="com.allen_sauer.gwt.log.gwt-log"/></inherits>
<!-- Add ftr-gwt-library-date -->
<inherits name="org.cobogw.gwt.user.User"></inherits>
<inherits name="eu.future.earth.gwt.FtrGwtLibrary"></inherits>
<!-- GWT locale -->
<extend-property name="locale" values="de_DE" ></extend-property>
<extend-property name="locale" values="en_UK" ></extend-property>
<extend-property name="locale" values="fr_FR" ></extend-property>
<extend-property name="locale" values="hr_HR" ></extend-property>
<extend-property name="locale" values="hu_HU" ></extend-property>
<extend-property name="locale" values="it_IT" ></extend-property>
<extend-property name="locale" values="pt_PT" ></extend-property>
<extend-property name="locale" values="pl_PL" ></extend-property>
<extend-property name="locale" values="nl_NL" ></extend-property>
<!-- Logging -->
<extend-property name="log_level" values="DEBUG,INFO,WARN,FATAL,EROR,OFF" />
<set-property name="log_level" value="INFO" ></extend-property>
<!-- Turn off "DivLogger" -->
<set-property name="log_DivLogger" value="DISABLED" ></set-property>
<!-- Specify the app entry point class. -->
<entry-point class="com.aaa.bbb.ccc.XXXEntryPoint" ></entry-point>
The main idea is to reduce permutations.
How to speed up the GWT compiler ? (Part II).
How to speed up the GWT compiler ? (Part III).
French version
Coming soon.



