gwt.team.scottb | 36f322f | 2006-12-07 19:49:22 +0000 | [diff] [blame] | 1 | <project name="GWT" default="build" basedir=".">
|
gwt.team.scottb | ab0aa68 | 2006-12-06 23:14:19 +0000 | [diff] [blame] | 2 | <property name="gwt.root" location="." />
|
gwt.team.scottb | 36f322f | 2006-12-07 19:49:22 +0000 | [diff] [blame] | 3 | <property name="project.tail" value="" />
|
gwt.team.scottb | ab0aa68 | 2006-12-06 23:14:19 +0000 | [diff] [blame] | 4 | <import file="${gwt.root}/common.ant.xml" />
|
| 5 |
|
gwt.team.scottb | 36f322f | 2006-12-07 19:49:22 +0000 | [diff] [blame] | 6 | <!-- "build" is the default when subprojects are directly targetted -->
|
| 7 | <property name="target" value="build" />
|
| 8 |
|
gwt.team.scottb | 68f7e76 | 2006-12-08 23:10:16 +0000 | [diff] [blame] | 9 | <target name="dist" depends="dev, user, servlet, jni, doc, samples" description="Run the distributions">
|
gwt.team.scottb | d07fbcf | 2006-12-08 21:12:32 +0000 | [diff] [blame] | 10 | <gwt.ant dir="distro-source" />
|
gwt.team.scottb | ab0aa68 | 2006-12-06 23:14:19 +0000 | [diff] [blame] | 11 | </target>
|
| 12 |
|
gwt.team.bruce | 672efb5 | 2006-12-08 15:38:58 +0000 | [diff] [blame] | 13 | <target name="dev" depends="buildtools" description="Run dev">
|
gwt.team.scottb | d07fbcf | 2006-12-08 21:12:32 +0000 | [diff] [blame] | 14 | <gwt.ant dir="dev" />
|
gwt.team.scottb | ab0aa68 | 2006-12-06 23:14:19 +0000 | [diff] [blame] | 15 | </target>
|
gwt.team.scottb | 36f322f | 2006-12-07 19:49:22 +0000 | [diff] [blame] | 16 |
|
gwt.team.bruce | 672efb5 | 2006-12-08 15:38:58 +0000 | [diff] [blame] | 17 | <target name="user" depends="buildtools, dev" description="Run user">
|
gwt.team.scottb | d07fbcf | 2006-12-08 21:12:32 +0000 | [diff] [blame] | 18 | <gwt.ant dir="user" />
|
gwt.team.scottb | 36f322f | 2006-12-07 19:49:22 +0000 | [diff] [blame] | 19 | </target>
|
| 20 |
|
gwt.team.bruce | 672efb5 | 2006-12-08 15:38:58 +0000 | [diff] [blame] | 21 | <target name="servlet" depends="buildtools, user" description="Run servlet">
|
gwt.team.scottb | d07fbcf | 2006-12-08 21:12:32 +0000 | [diff] [blame] | 22 | <gwt.ant dir="servlet" />
|
gwt.team.scottb | 36f322f | 2006-12-07 19:49:22 +0000 | [diff] [blame] | 23 | </target>
|
| 24 |
|
| 25 | <target name="jni" description="Run jni">
|
gwt.team.scottb | d07fbcf | 2006-12-08 21:12:32 +0000 | [diff] [blame] | 26 | <gwt.ant dir="jni" />
|
gwt.team.scottb | 36f322f | 2006-12-07 19:49:22 +0000 | [diff] [blame] | 27 | </target>
|
| 28 |
|
gwt.team.scottb | 68f7e76 | 2006-12-08 23:10:16 +0000 | [diff] [blame] | 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 |
|
gwt.team.bruce | 672efb5 | 2006-12-08 15:38:58 +0000 | [diff] [blame] | 37 | <target name="buildtools" description="Build the build tools">
|
gwt.team.scottb | d07fbcf | 2006-12-08 21:12:32 +0000 | [diff] [blame] | 38 | <gwt.ant dir="build-tools" />
|
gwt.team.bruce | 672efb5 | 2006-12-08 15:38:58 +0000 | [diff] [blame] | 39 | </target>
|
| 40 |
|
gwt.team.scottb | 68f7e76 | 2006-12-08 23:10:16 +0000 | [diff] [blame] | 41 | <target name="-do" depends="dist" description="Run all subprojects" />
|
| 42 |
|
gwt.team.scottb | 36f322f | 2006-12-07 19:49:22 +0000 | [diff] [blame] | 43 | <target name="build" description="Builds GWT">
|
| 44 | <antcall target="-do">
|
| 45 | <param name="target" value="build" />
|
| 46 | </antcall>
|
gwt.team.scottb | ab0aa68 | 2006-12-06 23:14:19 +0000 | [diff] [blame] | 47 | </target>
|
| 48 |
|
gwt.team.scottb | 36f322f | 2006-12-07 19:49:22 +0000 | [diff] [blame] | 49 | <target name="checkstyle" description="Static analysis of GWT source">
|
| 50 | <antcall target="-do">
|
| 51 | <param name="target" value="checkstyle" />
|
| 52 | </antcall>
|
gwt.team.scottb | ab0aa68 | 2006-12-06 23:14:19 +0000 | [diff] [blame] | 53 | </target>
|
| 54 |
|
gwt.team.scottb | 36f322f | 2006-12-07 19:49:22 +0000 | [diff] [blame] | 55 | <target name="test" depends="build" description="Test GWT">
|
| 56 | <antcall target="-do">
|
| 57 | <param name="target" value="test" />
|
| 58 | </antcall>
|
gwt.team.scottb | ab0aa68 | 2006-12-06 23:14:19 +0000 | [diff] [blame] | 59 | </target>
|
gwt.team.scottb | ab0aa68 | 2006-12-06 23:14:19 +0000 | [diff] [blame] | 60 | </project>
|