| <?xml version="1.0" encoding="UTF-8"?> |
| <module rename-to='mobilewebapp'> |
| <!-- Inherit the core Web Toolkit stuff. --> |
| <inherits name='com.google.gwt.activity.Activity'/> |
| <inherits name='com.google.gwt.place.Place'/> |
| <inherits name='com.google.gwt.user.User'/> |
| <inherits name='com.google.gwt.user.theme.clean.Clean'/> |
| <inherits name='com.google.gwt.editor.Editor'/> |
| <inherits name='com.google.gwt.sample.mobilewebapp.FormFactor'/> |
| <inherits name='com.google.web.bindery.requestfactory.RequestFactory'/> |
| |
| <!-- Use GWT's java.util.logging emulation --> |
| <inherits name="com.google.gwt.logging.Logging"/> |
| |
| <inherits name='com.google.gwt.sample.gaerequest.GaeRequest'/> |
| <inherits name='com.google.gwt.sample.ui.UI'/> |
| |
| <!-- Specify the app entry point class. --> |
| <entry-point class='com.google.gwt.sample.mobilewebapp.client.MobileWebApp'/> |
| |
| <!-- Use ClientFactoryImpl by default --> |
| <replace-with class="com.google.gwt.sample.mobilewebapp.client.ClientFactoryImpl"> |
| <when-type-is class="com.google.gwt.sample.mobilewebapp.client.ClientFactory"/> |
| </replace-with> |
| |
| <!-- Use ClientFactoryImplMobile for mobile form factor. --> |
| <replace-with class="com.google.gwt.sample.mobilewebapp.client.ClientFactoryImplMobile"> |
| <when-type-is class="com.google.gwt.sample.mobilewebapp.client.ClientFactory"/> |
| <when-property-is name="formfactor" value="mobile"/> |
| </replace-with> |
| |
| <!-- Use ClientFactoryImplTablet for tablet form factor. --> |
| <replace-with class="com.google.gwt.sample.mobilewebapp.client.ClientFactoryImplTablet"> |
| <when-type-is class="com.google.gwt.sample.mobilewebapp.client.ClientFactory"/> |
| <when-property-is name="formfactor" value="tablet"/> |
| </replace-with> |
| |
| <define-linker name="appcachelinker" class="com.google.gwt.sample.mobilewebapp.linker.AppCacheLinker" /> |
| <add-linker name="appcachelinker" /> |
| |
| <!-- Specify the paths for translatable code --> |
| <source path='client'/> |
| <source path='presenter'/> |
| <source path='shared'/> |
| |
| <set-configuration-property name="CssResource.enableGss" value="true" /> |
| <set-configuration-property name="CssResource.gssDefaultInUiBinder" value="true" /> |
| <!-- CSS to GSS Conversion --> |
| <set-configuration-property name="CssResource.conversionMode" value="strict" /> |
| </module> |