gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 1 | <project name="GWT" default="build" basedir="."> |
| 2 | <property name="gwt.root" location="." /> |
| 3 | <property name="project.tail" value="" /> |
| 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="dist" depends="dev, user, servlet, jni, doc, samples" description="Run the distributions"> |
| 10 | <gwt.ant dir="distro-source" /> |
| 11 | </target> |
| 12 | |
| 13 | <target name="dev" depends="buildtools" description="Run dev"> |
| 14 | <gwt.ant dir="dev" /> |
| 15 | </target> |
| 16 | |
| 17 | <target name="user" depends="buildtools, dev" description="Run user"> |
| 18 | <gwt.ant dir="user" /> |
| 19 | </target> |
| 20 | |
| 21 | <target name="servlet" depends="buildtools, user" description="Run servlet"> |
| 22 | <gwt.ant dir="servlet" /> |
| 23 | </target> |
| 24 | |
| 25 | <target name="jni" description="Run jni"> |
| 26 | <gwt.ant dir="jni" /> |
| 27 | </target> |
| 28 | |
| 29 | <target name="doc" depends="buildtools, user" description="Build doc"> |
| 30 | <gwt.ant dir="doc" /> |
| 31 | </target> |
| 32 | |
| 33 | <target name="samples" depends="dev, user" description="Build samples"> |
| 34 | <gwt.ant dir="samples" /> |
| 35 | </target> |
| 36 | |
| 37 | <target name="buildtools" description="Build the build tools"> |
| 38 | <gwt.ant dir="build-tools" /> |
| 39 | </target> |
| 40 | |
| 41 | <target name="-do" depends="dist" description="Run all subprojects" /> |
| 42 | |
| 43 | <target name="build" description="Builds GWT"> |
| 44 | <antcall target="-do"> |
| 45 | <param name="target" value="build" /> |
| 46 | </antcall> |
| 47 | </target> |
| 48 | |
| 49 | <target name="checkstyle" description="Static analysis of GWT source"> |
| 50 | <antcall target="-do"> |
| 51 | <param name="target" value="checkstyle" /> |
| 52 | </antcall> |
| 53 | </target> |
| 54 | |
| 55 | <target name="test" depends="build" description="Test GWT"> |
| 56 | <antcall target="-do"> |
| 57 | <param name="target" value="test" /> |
| 58 | </antcall> |
| 59 | </target> |
| 60 | |
| 61 | <target name="clean" description="Cleans the entire GWT build"> |
| 62 | <delete dir="${gwt.build}" /> |
| 63 | </target> |
| 64 | </project> |