gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 1 | <project name="samples" default="build" basedir="."> |
| 2 | <property name="gwt.root" location=".." /> |
| 3 | <property name="project.tail" value="samples" /> |
| 4 | <import file="${gwt.root}/common.ant.xml" /> |
| 5 | |
| 6 | <!-- "build" is the default when subprojects are directly targetted --> |
| 7 | <property name="target" value="build" /> |
| 8 | |
| 9 | <target name="dynatable" description="Build dynatable"> |
| 10 | <gwt.ant dir="dynatable" /> |
| 11 | </target> |
| 12 | |
| 13 | <target name="hello" description="Build hello"> |
| 14 | <gwt.ant dir="hello" /> |
| 15 | </target> |
| 16 | |
| 17 | <target name="i18n" description="Build i18n"> |
| 18 | <gwt.ant dir="i18n" /> |
| 19 | </target> |
| 20 | |
| 21 | <target name="json" description="Build json"> |
| 22 | <gwt.ant dir="json" /> |
| 23 | </target> |
| 24 | |
| 25 | <target name="kitchensink" description="Build kitchensink"> |
| 26 | <gwt.ant dir="kitchensink" /> |
| 27 | </target> |
| 28 | |
| 29 | <target name="mail" description="Build mail"> |
| 30 | <gwt.ant dir="mail" /> |
| 31 | </target> |
| 32 | |
| 33 | <target name="simplexml" description="Build simplexml"> |
| 34 | <gwt.ant dir="simplexml" /> |
| 35 | </target> |
| 36 | |
| 37 | <target name="-do" depends="dynatable, hello, i18n, json, kitchensink, mail, simplexml" description="Run all subprojects" /> |
| 38 | |
| 39 | <target name="build" description="Builds GWT"> |
| 40 | <antcall target="-do"> |
| 41 | <param name="target" value="build" /> |
| 42 | </antcall> |
| 43 | </target> |
| 44 | |
| 45 | <target name="checkstyle" description="Static analysis of GWT source"> |
| 46 | <antcall target="-do"> |
| 47 | <param name="target" value="checkstyle" /> |
| 48 | </antcall> |
| 49 | </target> |
| 50 | |
| 51 | <target name="test" depends="build" description="Test GWT"> |
| 52 | <antcall target="-do"> |
| 53 | <param name="target" value="test" /> |
| 54 | </antcall> |
| 55 | </target> |
| 56 | </project> |