forked from jahertor/gwt-ext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
55 lines (42 loc) · 1.63 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<project name="GWT-Ext" default="build" basedir=".">
<property name="gwtext.root" location="." />
<property name="project.tail" value="" />
<import file="${gwtext.root}/common.ant.xml" />
<!-- "build" is the default when subprojects are directly targetted -->
<property name="target" value="build" />
<!--<target name="dist" depends="gwtext, doc, samples" description="Run the distributions">-->
<target name="dist" depends="main, doc, samples" description="Run the distributions">
<gwt.ant dir="distro-source" />
</target>
<target name="doc" depends="buildtools, main" description="Build doc">
<gwt.ant dir="doc" />
</target>
<target name="main" description="Run GwtExt">
<gwt.ant dir="main" />
</target>
<target name="samples" depends="main" description="Build samples">
<gwt.ant dir="samples" />
</target>
<target name="buildtools" description="Build the build tools">
<gwt.ant dir="build-tools" />
</target>
<target name="-do" depends="dist" description="Run all subprojects" />
<target name="build" description="Builds GWT">
<antcall target="-do">
<param name="target" value="build" />
</antcall>
</target>
<target name="checkstyle" description="Static analysis of GWT source">
<antcall target="-do">
<param name="target" value="checkstyle" />
</antcall>
</target>
<target name="test" depends="build" description="Test GWT">
<antcall target="-do">
<param name="target" value="test" />
</antcall>
</target>
<target name="clean" description="Cleans the entire GWT build">
<delete dir="${gwtext.build}" />
</target>
</project>