blob: f81b120818c10be42b92596bc6b0f4f609378dd0 [file] [log] [blame]
<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="ant-gwt" description="Builds GWT specific Ant extensions">
<gwt.ant dir="ant-gwt" />
</target>
<target name="customchecks" description="Build the checkstyle extensions">
<gwt.ant dir="customchecks" />
</target>
<target name="doctool" description="Build the doctool">
<gwt.ant dir="doctool" />
</target>
<target name="-do" depends="ant-gwt, 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>