blob: 0cecb31a034f80b92add8cac265f5f4f812775d7 [file] [log] [blame]
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +00001<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
gwt.team.mmendez4449b342007-04-10 19:41:44 +00009 <target name="dist" depends="dev, user, servlet, tools, jni, doc, samples" description="Run the distributions">
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +000010 <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
gwt.team.mmendez4449b342007-04-10 19:41:44 +000021 <target name="tools" depends="buildtools, user" description="Run tools">
22 <gwt.ant dir="tools" />
23 </target>
24
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +000025 <target name="servlet" depends="buildtools, user" description="Run servlet">
26 <gwt.ant dir="servlet" />
27 </target>
28
29 <target name="jni" description="Run jni">
30 <gwt.ant dir="jni" />
31 </target>
32
33 <target name="doc" depends="buildtools, user" description="Build doc">
34 <gwt.ant dir="doc" />
35 </target>
36
37 <target name="samples" depends="dev, user" description="Build samples">
38 <gwt.ant dir="samples" />
39 </target>
40
41 <target name="buildtools" description="Build the build tools">
42 <gwt.ant dir="build-tools" />
43 </target>
44
45 <target name="-do" depends="dist" description="Run all subprojects" />
46
47 <target name="build" description="Builds GWT">
48 <antcall target="-do">
49 <param name="target" value="build" />
50 </antcall>
51 </target>
52
53 <target name="checkstyle" description="Static analysis of GWT source">
54 <antcall target="-do">
55 <param name="target" value="checkstyle" />
56 </antcall>
57 </target>
58
59 <target name="test" depends="build" description="Test GWT">
60 <antcall target="-do">
61 <param name="target" value="test" />
62 </antcall>
63 </target>
64
65 <target name="clean" description="Cleans the entire GWT build">
66 <delete dir="${gwt.build}" />
67 </target>
68</project>