Newer
Older
<?xml version="1.0" encoding="UTF-8"?>
<project name="KiekerOverheadEvaluation" default="build-all" basedir=".">
<target name="build-all" depends="clean,init,compile,jar" />
<target name="build-kieker" depends="clean,init,compile-kieker,jar" />
<target name="build-inspectit" depends="clean,init,compile-inspectit,jar" />
<target name="init" depends="">
<mkdir dir="build" />
<mkdir dir="dist" />
</target>
<target name="compile" depends="init">
<path id="compile-classpath">
<fileset dir="lib/">
<include name="commons-cli-*.jar" />
</path>
<javac source="1.5" target="1.5" destDir="build" debug="true" classpathref="compile-classpath" includeAntRuntime="false">
<src path="src" />
</javac>
<copy todir="build/META-INF">
<fileset dir="src/META-INF" />
</copy>
</target>
<target name="compile-kieker" depends="compile">
<path id="compile-classpath">
<fileset dir="frameworks/Kieker/lib/">
<include name="kieker-1.9-SNAPSHOT_aspectj.jar" />
<javac source="1.5" target="1.5" destDir="build" debug="true" classpathref="compile-classpath" includeAntRuntime="false">
<src path="frameworks/Kieker/src" />
</javac>
<fileset dir="frameworks/Kieker/src/META-INF" />
<path>
<path refid="compile-classpath"/>
</path>
<copy file="frameworks/Kieker/bin/benchmark.sh" todir="dist" />
<target name="compile-inspectit" depends="compile">
<copy todir="dist">
<fileset dir="frameworks/inspectIT/" />
</copy>
</target>
<manifestclasspath property="jar.classpath" jarfile="dist/MooBench.jar">
<include name="**/*.jar" />
</fileset>
</classpath>
</manifestclasspath>
<fileset dir="build" />
<fileset dir="." includes="LICENSE README" />
<manifest>
<attribute name="Main-Class" value="mooBench.benchmark.Benchmark" />
<attribute name="Class-Path" value="${jar.classpath}" />
</manifest>
<zipfileset src="lib/commons-cli-1.2.jar" />
<copy todir="dist/r">
<fileset dir="bin/r" />
</copy>
</target>
<target name="clean">
<delete dir="build" />
<delete dir="dist" />
</target>
</project>