gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 1 | <project name="buildtools" default="build" basedir="."> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 2 | <property name="gwt.root" location=".." /> |
| 3 | <property name="project.tail" value="build-tools" /> |
| 4 | <import file="${gwt.root}/common.ant.xml" /> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 5 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 6 | <!-- "build" is the default when subprojects are directly targetted --> |
| 7 | <property name="target" value="build" /> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 8 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 9 | <target name="ant-gwt" description="Builds GWT specific Ant extensions"> |
| 10 | <gwt.ant dir="ant-gwt" /> |
| 11 | </target> |
gwt.team.scottb | b05c900 | 2006-12-12 09:53:31 +0000 | [diff] [blame] | 12 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 13 | <target name="customchecks" description="Build the checkstyle extensions"> |
| 14 | <gwt.ant dir="customchecks" /> |
| 15 | </target> |
| 16 | |
| 17 | <target name="doctool" description="Build the doctool"> |
| 18 | <gwt.ant dir="doctool" /> |
| 19 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 20 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 21 | <target name="-do" depends="ant-gwt, customchecks, doctool" description="Run all subprojects"/> |
| 22 | |
| 23 | <target name="build" description="Builds GWT"> |
| 24 | <antcall target="-do"> |
| 25 | <param name="target" value="build" /> |
| 26 | </antcall> |
| 27 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 28 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 29 | <target name="checkstyle" depends="build" description="Static analysis of GWT source"> |
| 30 | <antcall target="-do"> |
| 31 | <param name="target" value="checkstyle" /> |
| 32 | </antcall> |
| 33 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 34 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 35 | <target name="test" depends="build" description="Test GWT"> |
| 36 | <antcall target="-do"> |
| 37 | <param name="target" value="test" /> |
| 38 | </antcall> |
| 39 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 40 | </project> |