| <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"> | |
| <gwt.ant dir="customchecks" /> | |
| </target> | |
| <target name="doctool" description="Build the doctool"> | |
| <gwt.ant dir="doctool" /> | |
| </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> |