forked from slangevi/bruse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
36 lines (31 loc) · 916 Bytes
/
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
<project name="bruse" default="run">
<property name="optimize" value="on" />
<target name="clean">
<delete dir="bin"/>
</target>
<target name="compile">
<mkdir dir="bin"/>
<javac srcdir="src" destdir="bin" optimize="${optimize}">
<classpath>
<fileset dir="lib">
<include name="**/*.jar" />
</fileset>
</classpath>
</javac>
</target>
<target name="jar" depends="compile">
<mkdir dir="release"/>
<jar destfile="release/bruse.jar" basedir="bin">
<manifest>
<attribute name="Main-Class" value="sc.bruse.test.SoftEvidencePerformanceTest"/>
</manifest>
<zipgroupfileset dir="lib" includes="*.jar"/>
</jar>
</target>
<target name="profile">
<java jar="release/bruse.jar" fork="true" jvmargs="-agentlib:hprof=cpu=times"/>
</target>
<target name="run">
<java jar="release/bruse.jar" fork="true" maxmemory="1024m"/>
</target>
</project>