Builds all the build tools.

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@71 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/build-tools/build.xml b/build-tools/build.xml
new file mode 100644
index 0000000..07e8927
--- /dev/null
+++ b/build-tools/build.xml
@@ -0,0 +1,36 @@
+<project name="buildtools" default="build" basedir=".">

+	<property name="gwt.root" location=".." />

+	<property name="project.tail" value="build-tools" />

+	<import file="${gwt.root}/common.ant.xml" />

+

+	<!-- "build" is the default when subprojects are directly targetted -->

+	<property name="target" value="build" />

+

+	<target name="customchecks" description="Build the checkstyle extensions">

+		<ant dir="customchecks" inheritall="false" target="${target}" />

+	</target>

+	

+	<target name="doctool" description="Build the doctool">

+		<ant dir="doctool" inheritall="false" target="${target}" />

+	</target>

+

+	<target name="-do" depends="customchecks, doctool" 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>