build.xml 691 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<project name="disl-example" default="prepare-all" basedir=".">
	
	<target name="prepare-all">
		<ant antfile="app/build.xml" target="package" useNativeBasedir="true" />
		<ant antfile="instr/build.xml" target="package" useNativeBasedir="true" />
	</target>
	
	<target name="clean">
		<ant antfile="app/build.xml" target="clean" useNativeBasedir="true" />
		<ant antfile="instr/build.xml" target="clean" useNativeBasedir="true" />
	</target>
	
	<target name="run" depends="prepare-all">
		<exec executable="../disl.py">
			<arg value="--" />
			<arg value="instr/build/disl-instr.jar" />
			<arg value="-jar" />
			<arg value="app/build/example-app.jar" />
		</exec>	
	</target>

</project>