-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
46 lines (38 loc) · 1.37 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
<project name="IDU0080 JMS" basedir="." default="compile">
<property name="classes.dir" value="classes" />
<property name="lib.dir" value="lib" />
<path id="main.classpath">
<fileset dir="${lib.dir}" includes="**/**.jar" />
<dirset dir="${classes.dir}" />
</path>
<target name="init">
<mkdir dir="${classes.dir}" />
</target>
<target name="clean">
<delete dir="${classes.dir}" />
</target>
<target name="compile" depends="init">
<javac srcdir="src" destdir="${classes.dir}" classpathref="main.classpath" debug="on" encoding="UTF-8"/>
<copy todir="${classes.dir}">
<fileset dir="src" includes="**/*.properties" />
</copy>
</target>
<target name="runBroker" depends="compile">
<java classname="ee.ttu.idu0080.raamatupood.server.EmbeddedBroker" fork="true">
<classpath refid="main.classpath" />
<jvmarg line="-Djava.security.policy=policy.all" />
</java>
</target>
<target name="runRaamatupood" depends="compile">
<java classname="ee.ttu.idu0080.raamatupood.client.Raamatupood" fork="true">
<classpath refid="main.classpath" />
<jvmarg line="-Djava.security.policy=policy.all" />
</java>
</target>
<target name="runTellija" depends="compile">
<java classname="ee.ttu.idu0080.raamatupood.client.Tellija" fork="true">
<classpath refid="main.classpath" />
<jvmarg line="-Djava.security.policy=policy.all" />
</java>
</target>
</project>