-
Notifications
You must be signed in to change notification settings - Fork 77
/
build.xml
executable file
·40 lines (32 loc) · 1.12 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
<project name="benchmarksql" default="dist" basedir=".">
<description>BenchmarkSQL Build File</description>
<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"
debug="true" includeantruntime="false" encoding="UTF-8">
<compilerarg value="-Xlint:all"/>
</javac>
</target>
<target name="dist" depends="compile" >
<mkdir dir="${dist}"/>
<jar jarfile="${dist}/BenchmarkSQL-5.0.jar" basedir="${build}"/>
</target>
<target name="clean" description="clean up" >
<delete dir="${build}"/>
<delete dir="${dist}"/>
<delete dir="${logs}"/>
</target>
</project>