forked from senseidb/zoie
-
Notifications
You must be signed in to change notification settings - Fork 12
/
build.xml
57 lines (48 loc) · 1.48 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
<project name="zoie" default="dist">
<target name="clean" description="--> clean build, dist, and logs">
<exec executable="mvn">
<arg line="clean" />
</exec>
</target>
<target name="dist" depends="clean" description="--> build .jar and sources into dist">
<exec executable="mvn">
<arg line="-Dmaven.test.skip=true package" />
</exec>
</target>
<target name="deploy" depends="test">
<exec executable="mvn">
<arg line="deploy" />
</exec>
</target>
<target name="release" depends="test">
<exec executable="mvn">
<arg line="-DperformRelease=true deploy" />
</exec>
</target>
<target name="test" depends="dist" description="Runs JUnit Tests -- use -Dtests.to.run=testA,testB,... to run tests selectively">
<echo>=== Running JUnit Tests ===</echo>
<exec executable="mvn">
<arg line="test" />
</exec>
</target>
<target name="example" depends="dist">
<exec executable="mvn" dir="zoie-example">
<arg line="jetty:run" />
</exec>
</target>
<target name="perf-client" depends="dist">
<exec executable="mvn" dir="zoie-perf">
<arg line="-e exec:java proj.zoie.perf.client.ZoieClient" />
</exec>
</target>
<target name="perf-server" depends="dist">
<exec executable="mvn" dir="zoie-perf">
<arg line="jetty:run" />
</exec>
</target>
<target name="run-cmdline" depends="dist" description="--> run the cmdline console">
<exec executable="mvn">
<arg line="-e exec:java -Dexec.mainClass=proj.zoie.cmdline.JMXClient" />
</exec>
</target>
</project>