Added build files for all samples
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@74 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/samples/build.xml b/samples/build.xml
new file mode 100644
index 0000000..af6d904
--- /dev/null
+++ b/samples/build.xml
@@ -0,0 +1,56 @@
+<project name="samples" default="build" basedir=".">
+ <property name="gwt.root" location=".." />
+ <property name="project.tail" value="samples" />
+ <import file="${gwt.root}/common.ant.xml" />
+
+ <!-- "build" is the default when subprojects are directly targetted -->
+ <property name="target" value="build" />
+
+ <target name="dynatable" description="Build dynatable">
+ <ant dir="dynatable" inheritall="false" target="${target}" />
+ </target>
+
+ <target name="hello" description="Build hello">
+ <ant dir="hello" inheritall="false" target="${target}" />
+ </target>
+
+ <target name="i18n" description="Build i18n">
+ <ant dir="i18n" inheritall="false" target="${target}" />
+ </target>
+
+ <target name="json" description="Build json">
+ <ant dir="json" inheritall="false" target="${target}" />
+ </target>
+
+ <target name="kitchensink" description="Build kitchensink">
+ <ant dir="kitchensink" inheritall="false" target="${target}" />
+ </target>
+
+ <target name="mail" description="Build mail">
+ <ant dir="mail" inheritall="false" target="${target}" />
+ </target>
+
+ <target name="simplexml" description="Build simplexml">
+ <ant dir="simplexml" inheritall="false" target="${target}" />
+ </target>
+
+ <target name="-do" depends="dynatable, hello, i18n, json, kitchensink, mail, simplexml" description="Run all subprojects" />
+
+ <target name="build" description="Builds GWT">
+ <antcall target="-do">
+ <param name="target" value="build" />
+ </antcall>
+ </target>
+
+ <target name="checkstyle" depends="build" description="Static analysis of GWT source">
+ <antcall target="-do">
+ <param name="target" value="checkstyle" />
+ </antcall>
+ </target>
+
+ <target name="test" depends="build" description="Test GWT">
+ <antcall target="-do">
+ <param name="target" value="test" />
+ </antcall>
+ </target>
+</project>
diff --git a/samples/dynatable/build.xml b/samples/dynatable/build.xml
new file mode 100755
index 0000000..b19ba5f
--- /dev/null
+++ b/samples/dynatable/build.xml
@@ -0,0 +1,5 @@
+<project name="dynatable" default="build" basedir=".">
+ <property name="sample.root" value="dynatable" />
+ <property name="sample.module" value="DynaTable" />
+ <import file="../common.ant.xml" />
+</project>
diff --git a/samples/i18n/build.xml b/samples/i18n/build.xml
new file mode 100755
index 0000000..c9f18f4
--- /dev/null
+++ b/samples/i18n/build.xml
@@ -0,0 +1,5 @@
+<project name="i18n" default="build" basedir=".">
+ <property name="sample.root" value="i18n" />
+ <property name="sample.module" value="I18N" />
+ <import file="../common.ant.xml" />
+</project>
diff --git a/samples/json/build.xml b/samples/json/build.xml
new file mode 100755
index 0000000..e8dfe0a
--- /dev/null
+++ b/samples/json/build.xml
@@ -0,0 +1,5 @@
+<project name="json" default="build" basedir=".">
+ <property name="sample.root" value="json" />
+ <property name="sample.module" value="JSON" />
+ <import file="../common.ant.xml" />
+</project>
diff --git a/samples/kitchensink/build.xml b/samples/kitchensink/build.xml
new file mode 100755
index 0000000..78354c8
--- /dev/null
+++ b/samples/kitchensink/build.xml
@@ -0,0 +1,5 @@
+<project name="kitchensink" default="build" basedir=".">
+ <property name="sample.root" value="kitchensink" />
+ <property name="sample.module" value="KitchenSink" />
+ <import file="../common.ant.xml" />
+</project>
diff --git a/samples/mail/build.xml b/samples/mail/build.xml
new file mode 100755
index 0000000..0cc2b4a
--- /dev/null
+++ b/samples/mail/build.xml
@@ -0,0 +1,5 @@
+<project name="mail" default="build" basedir=".">
+ <property name="sample.root" value="mail" />
+ <property name="sample.module" value="Mail" />
+ <import file="../common.ant.xml" />
+</project>
diff --git a/samples/simplexml/build.xml b/samples/simplexml/build.xml
new file mode 100755
index 0000000..a1ed93b
--- /dev/null
+++ b/samples/simplexml/build.xml
@@ -0,0 +1,5 @@
+<project name="simplexml" default="build" basedir=".">
+ <property name="sample.root" value="simplexml" />
+ <property name="sample.module" value="SimpleXML" />
+ <import file="../common.ant.xml" />
+</project>