Newer
Older
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
<?xml version="1.0" encoding="UTF-8"?>
<project name="KiekerOverheadEvaluation" default="build-all" basedir=".">
<property file="build.properties" />
<target name="build-all" depends="clean,init,compile,jar" />
<target name="init" depends="">
<mkdir dir="build" />
<mkdir dir="dist" />
<mkdir dir="tmp" />
</target>
<target name="compile" depends="init">
<path id="compile-classpath">
<fileset dir="lib/">
<include name="commons-cli-*.jar" />
<include name="kieker-*.jar" />
</fileset>
</path>
<javac source="1.5" target="1.5" destDir="build" debug="true" classpathref="compile-classpath" srcdir="src" includeAntRuntime="false" />
<copy todir="build/META-INF">
<fileset dir="src/META-INF" />
</copy>
</target>
<target name="jar" depends="compile">
<manifestclasspath property="jar.classpath" jarfile="dist/OverheadEvaluationMicrobenchmark.jar">
<classpath>
<fileset dir="lib/">
<include name="**/*.jar" />
</fileset>
</classpath>
</manifestclasspath>
<jar destfile="dist/OverheadEvaluationMicrobenchmark.jar">
<fileset dir="build" />
<fileset dir="." includes="LICENSE README" />
<manifest>
<attribute name="Main-Class" value="kieker.evaluation.benchmark.Benchmark" />
<attribute name="Class-Path" value="${jar.classpath}" />
</manifest>
</jar>
</target>
<target name="clean">
<!--<delete dir="tmp"/>-->
<delete dir="build" />
<delete dir="dist" />
</target>
</project>