-
Notifications
You must be signed in to change notification settings - Fork 41
/
build.xml
55 lines (51 loc) · 2.01 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
<?xml version="1.0" ?>
<project name="Red5Examples" basedir="." default="dist" >
<macrodef name="antdemo">
<attribute name="demo" />
<attribute name="target" default="dist" />
<sequential>
<echo message="antdemo demo=@{demo} target=@{target}"/>
<ant dir="@{demo}" target="@{target}"/>
</sequential>
</macrodef>
<target name="dist"
depends="dist-noflex, dist-flex"
description="build all demos" />
<target name="dist-flex"
description="build all demos that depend on Flex">
<antdemo demo="LocalApp" target="compile" />
<antdemo demo="RemoteApp" target="compile" />
</target>
<target name="dist-noflex"
description="build all demos that don't depend on Flex">
<antdemo demo="SOSample" target="war" />
<antdemo demo="admin" target="war" />
<antdemo demo="bwcheck" target="war" />
<antdemo demo="dump" target="war" />
<antdemo demo="echo" target="war" />
<antdemo demo="fitcDemo" target="war" />
<!-- <antdemo demo="loadtest" target="war" /> -->
<antdemo demo="messageRecorder" target="war" />
<antdemo demo="midiDemo" target="war" />
<antdemo demo="oflaDemo" target="war" />
<antdemo demo="test" target="war" />
<antdemo demo="tutorial" target="war" />
</target>
<target name="clean"
description="clean all demos">
<antdemo demo="LocalApp" target="clean" />
<antdemo demo="RemoteApp" target="clean" />
<antdemo demo="SOSample" target="clean" />
<antdemo demo="admin" target="clean" />
<antdemo demo="bwcheck" target="clean" />
<antdemo demo="dump" target="clean" />
<antdemo demo="echo" target="clean" />
<antdemo demo="fitcDemo" target="clean" />
<antdemo demo="loadtest" target="clean" />
<antdemo demo="messageRecorder" target="clean" />
<antdemo demo="midiDemo" target="clean" />
<antdemo demo="oflaDemo" target="clean" />
<antdemo demo="test" target="clean" />
<antdemo demo="tutorial" target="clean" />
</target>
</project>