build.xml 763 Bytes
Newer Older
1 2
<project name="example-disl" default="package" basedir=".">

3
	<property file="../../build.properties" />
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

	<path id="buildpath">
		<pathelement location="${asm.path}" />
		<pathelement location="${dislserver.path}" />
	</path>

	<target name="compile">
		<mkdir dir="bin" />
		<javac srcdir="src" destdir="bin" debug="true" includeAntRuntime="false">
			<classpath refid="buildpath" />
		</javac>
	</target>

	<target name="package" depends="compile" description="create instrumentation package">
		<mkdir dir="build"/>
		<jar jarfile="build/${instr.jar.name}"
		     basedir="bin"
		     excludes="MANIFEST.MF"
		     manifest="src/MANIFEST.MF">
		</jar>
	</target>
	
	<target name="clean">
		<delete dir="bin" />
		<delete dir="build" />
	</target>

</project>