-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
48 lines (39 loc) · 1.8 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
<project name="rmi-deploy" basedir="." default="deploy">
<property name="httpd.dir" value="deploy/httpd"/>
<property name="registry.dir" value="deploy/registry"/>
<property name="server.dir" value="deploy/server"/>
<property name="client.dir" value="deploy/client"/>
<target name="clean">
<delete dir="deploy"/>
</target>
<target name="deploy">
<mkdir dir="deploy"/>
<mkdir dir="${httpd.dir}"/>
<mkdir dir="${httpd.dir}/rmi/client"/>
<mkdir dir="${registry.dir}"/>
<mkdir dir="${server.dir}"/>
<mkdir dir="${client.dir}"/>
<copy todir="${httpd.dir}">
<file file="httpd-server/target/httpd-server-1.0-SNAPSHOT-jar-with-dependencies.jar"/>
<fileset dir="oracle-rmi-tute/rmi-common/target/classes"/>
<fileset dir="httpd-server/script"/>
</copy>
<copy file="oracle-rmi-tute/rmi-client/target/classes/rmi/client/Pi.class" todir="${httpd.dir}/rmi/client"/>
<copy todir="${registry.dir}">
<file file="startregistry.bat"/>
<file file="startregistry.sh"/>
</copy>
<copy todir="${server.dir}">
<file file="oracle-rmi-tute/rmi-common/target/rmi-common-1.0-SNAPSHOT.jar"/>
<file file="oracle-rmi-tute/rmi-server/target/rmi-server-1.0-SNAPSHOT.jar"/>
<fileset dir="oracle-rmi-tute/rmi-server/script"/>
<file file="security.policy"/>
</copy>
<copy todir="${client.dir}">
<file file="oracle-rmi-tute/rmi-common/target/rmi-common-1.0-SNAPSHOT.jar"/>
<file file="oracle-rmi-tute/rmi-client/target/rmi-client-1.0-SNAPSHOT.jar"/>
<fileset dir="oracle-rmi-tute/rmi-client/script"/>
<file file="security.policy"/>
</copy>
</target>
</project>