blob: 8276f842a485a74071c3ffcfdd3b2c77995e059f [file] [log] [blame]
gwt.team.scottb36f322f2006-12-07 19:49:22 +00001<project name="GWT" default="build" basedir=".">
gwt.team.scottbab0aa682006-12-06 23:14:19 +00002 <property name="gwt.root" location="." />
gwt.team.scottb36f322f2006-12-07 19:49:22 +00003 <property name="project.tail" value="" />
gwt.team.scottbab0aa682006-12-06 23:14:19 +00004 <import file="${gwt.root}/common.ant.xml" />
5
gwt.team.scottb36f322f2006-12-07 19:49:22 +00006 <!-- "build" is the default when subprojects are directly targetted -->
7 <property name="target" value="build" />
8
gwt.team.scottb68f7e762006-12-08 23:10:16 +00009 <target name="dist" depends="dev, user, servlet, jni, doc, samples" description="Run the distributions">
gwt.team.scottbd07fbcf2006-12-08 21:12:32 +000010 <gwt.ant dir="distro-source" />
gwt.team.scottbab0aa682006-12-06 23:14:19 +000011 </target>
12
gwt.team.bruce672efb52006-12-08 15:38:58 +000013 <target name="dev" depends="buildtools" description="Run dev">
gwt.team.scottbd07fbcf2006-12-08 21:12:32 +000014 <gwt.ant dir="dev" />
gwt.team.scottbab0aa682006-12-06 23:14:19 +000015 </target>
gwt.team.scottb36f322f2006-12-07 19:49:22 +000016
gwt.team.bruce672efb52006-12-08 15:38:58 +000017 <target name="user" depends="buildtools, dev" description="Run user">
gwt.team.scottbd07fbcf2006-12-08 21:12:32 +000018 <gwt.ant dir="user" />
gwt.team.scottb36f322f2006-12-07 19:49:22 +000019 </target>
20
gwt.team.bruce672efb52006-12-08 15:38:58 +000021 <target name="servlet" depends="buildtools, user" description="Run servlet">
gwt.team.scottbd07fbcf2006-12-08 21:12:32 +000022 <gwt.ant dir="servlet" />
gwt.team.scottb36f322f2006-12-07 19:49:22 +000023 </target>
24
25 <target name="jni" description="Run jni">
gwt.team.scottbd07fbcf2006-12-08 21:12:32 +000026 <gwt.ant dir="jni" />
gwt.team.scottb36f322f2006-12-07 19:49:22 +000027 </target>
28
gwt.team.scottb68f7e762006-12-08 23:10:16 +000029 <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.bruce672efb52006-12-08 15:38:58 +000037 <target name="buildtools" description="Build the build tools">
gwt.team.scottbd07fbcf2006-12-08 21:12:32 +000038 <gwt.ant dir="build-tools" />
gwt.team.bruce672efb52006-12-08 15:38:58 +000039 </target>
40
gwt.team.scottb68f7e762006-12-08 23:10:16 +000041 <target name="-do" depends="dist" description="Run all subprojects" />
42
gwt.team.scottb36f322f2006-12-07 19:49:22 +000043 <target name="build" description="Builds GWT">
44 <antcall target="-do">
45 <param name="target" value="build" />
46 </antcall>
gwt.team.scottbab0aa682006-12-06 23:14:19 +000047 </target>
48
gwt.team.scottb36f322f2006-12-07 19:49:22 +000049 <target name="checkstyle" description="Static analysis of GWT source">
50 <antcall target="-do">
51 <param name="target" value="checkstyle" />
52 </antcall>
gwt.team.scottbab0aa682006-12-06 23:14:19 +000053 </target>
54
gwt.team.scottb36f322f2006-12-07 19:49:22 +000055 <target name="test" depends="build" description="Test GWT">
56 <antcall target="-do">
57 <param name="target" value="test" />
58 </antcall>
gwt.team.scottbab0aa682006-12-06 23:14:19 +000059 </target>
gwt.team.scottbab0aa682006-12-06 23:14:19 +000060</project>