blob: bc5ad97681a55997708d1604f9e7d214b87ec764 [file] [log] [blame]
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +00001<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
gwt.team.bobv799633f2008-02-29 23:58:24 +000037 <target name="-do" description="Run all subprojects" >
38 <antcall target="dynatable" />
39 <antcall target="hello" />
40 <antcall target="i18n" />
41 <antcall target="json" />
42 <antcall target="kitchensink" />
43 <antcall target="mail" />
44 <antcall target="simplexml" />
45 </target>
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +000046
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>
gwt.team.scottb69965322006-12-19 23:58:19 +000064
65 <target name="clean" description="Cleans this project's intermediate and output files">
66 <delete dir="${project.build}" />
67 <delete dir="${gwt.build.out}/samples-scripts" />
68 </target>
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +000069</project>