-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
88 lines (64 loc) · 2.25 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<project name="RUBiS" default="dist" basedir=".">
<!-- RUBiS main Ant build file -->
<property name="version" value="1.0"/>
<property file="build.properties" />
<!-- EJB versions -->
<target name="eb_bmp">
<ant dir="EJB_EntityBean_id_BMP" target="dist"/>
</target>
<target name="eb_cmp">
<ant dir="EJB_EntityBean_id" target="dist"/>
</target>
<target name="db_id">
<ant dir="EJB_DB_id" target="dist"/>
</target>
<target name="sb">
<ant dir="EJB_SessionBean" target="dist"/>
</target>
<target name="session_facade">
<ant dir="EJB_Session_facade" target="dist"/>
</target>
<target name="sf_local">
<ant dir="EJB_local_remote" target="dist"/>
</target>
<target name="mdb">
<ant dir="MDB" target="dist"/>
</target>
<!-- Servlet version -->
<target name="servlets">
<ant dir="Servlets" target="dist"/>
</target>
<!-- Client -->
<target name="client">
<ant dir="Client" target="dist"/>
</target>
<!-- run the client -->
<target name="emulator" depends="client">
<java classname="edu.rice.rubis.client.ClientEmulator"
classpath="./Client/${build}/RUBiS-${version}"
fork="yes"/>
</target>
<!-- Global rules -->
<target name="clean" description="Remove all the generated files or directories">
<ant dir="Client" target="clean"/>
<ant dir="EJB_EntityBean_id_BMP" target="clean"/>
<ant dir="EJB_EntityBean_id" target="clean"/>
<ant dir="EJB_DB_id" target="clean"/>
<ant dir="EJB_SessionBean" target="clean"/>
<ant dir="EJB_Session_facade" target="clean"/>
<ant dir="EJB_local_remote" target="clean"/>
<ant dir="MDB" target="clean"/>
<ant dir="Servlets" target="clean"/>
</target>
<target name="all" description="Build all the RUBiS versions and client emulator">
<ant dir="Client" target="dist"/>
<ant dir="EJB_EntityBean_id_BMP" target="dist"/>
<ant dir="EJB_EntityBean_id" target="dist"/>
<ant dir="EJB_DB_id" target="dist"/>
<ant dir="EJB_SessionBean" target="dist"/>
<ant dir="EJB_Session_facade" target="dist"/>
<ant dir="EJB_local_remote" target="dist"/>
<ant dir="MDB" target="dist"/>
<ant dir="Servlets" target="dist"/>
</target>
</project>