-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.xml
executable file
·42 lines (33 loc) · 1.05 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
<project name="BenchmarkSQL" default="dist" basedir=".">
<description>BenchmarkSQL Build File</description>
<presetdef name="javac">
<javac includeantruntime="false" />
</presetdef>
<property name="src" location="src" />
<property name="build" location="build" />
<property name="dist" location="dist" />
<property name="logs" location="run/logs" />
<property name="lib.dir" value="lib" />
<path id="classpath">
<fileset dir="${lib.dir}" includes="**/*.jar" />
</path>
<target name="init">
<!-- Create the time stamp -->
<tstamp />
<!-- Create the build directory structure used by compile -->
<mkdir dir="${build}" />
</target>
<target name="compile" depends="init">
<javac srcdir="${src}" destdir="${build}"
classpathref="classpath" />
</target>
<target name="dist" depends="compile">
<mkdir dir="${dist}" />
<jar jarfile="${dist}/BenchmarkSQL.jar" basedir="${build}" />
</target>
<target name="clean" description="clean up">
<delete dir="${build}" />
<delete dir="${dist}" />
<delete dir="${logs}" />
</target>
</project>