<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.4.0//EN" "http://google-web-toolkit.googlecode.com/svn/tags/2.4.0/distro-source/core/src/gwt-module.dtd">
<module rename-to='OnlineGlom'>

	<!-- Inherit the core Web Toolkit stuff. -->
	<inherits name='com.google.gwt.user.User' />

	<!-- Inherit the resources from the default GWT style sheet. We're not inheriting
		the whole style sheet so that the OnlineGlom style sheet can override the
		built-in standard.css. See: https://groups.google.com/group/Google-Web-Toolkit/msg/3e630a3059303b19 -->
	<inherits name='com.google.gwt.user.theme.standard.StandardResources' />

	<!-- Other module inherits -->
	<inherits name="com.google.gwt.activity.Activity" />
	<inherits name="com.google.gwt.place.Place" />

	<!-- Specify the app entry point class. -->
	<entry-point class='org.glom.web.client.OnlineGlom' />

	<!-- Specify the paths for translatable code -->
	<!-- The excludes are necessary to make the Eclipse Google -> GWT Compile feature work,
	which could be useful for debugging. These excludes are not necessary for the maven build.  -->
	<source path='client' excludes='**/*Test.java,**/GwtTest*.java'/>
	<source path='shared' excludes='**/*Test.java,**/GwtTest*.java'/>/>

	&lt;source path='client'

	<!-- Use ClientFactoryImpl by default -->
	<replace-with class="org.glom.web.client.ClientFactoryImpl">
		<when-type-is class="org.glom.web.client.ClientFactory" />
	</replace-with>

	<!-- Use the GWT internationalization framework -->
	<inherits name="com.google.gwt.i18n.I18N"/>
	<extend-property name="locale" values="cs"/>
	<extend-property name="locale" values="en"/>
	<extend-property name="locale" values="eo"/>
	<extend-property name="locale" values="de"/>
	<extend-property name="locale" values="es"/>
	<extend-property name="locale" values="fr"/>
	<extend-property name="locale" values="sl"/>
	<extend-property name="locale" values="zh_CN"/>

	<!--  This is necessary to avoid 404 errors when testing the service from
	GWTTestCase unit test. See also our web.xml file." -->
	<servlet path="/libGlom" class="org.glom.web.server.OnlineGlomServiceImpl" />

</module>

