summaryrefslogtreecommitdiff
path: root/devel/jiic/files/build.xml
blob: 778b41a27f7e1cb24297ec6735d86078a9cd8018 (plain)
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
<?xml version="1.0"?>
<project name="JIIC" default="dist">
	<property name="src" location="." />
	<property name="build"	location="build" />
	<property name="dist"	location="dist" />

	<target name="clean">
		<delete dir="${dist}" />
		<delete dir="${build}" />
	</target>

	<target name="prepare" depends="clean">
		<mkdir dir="${dist}"/>
		<mkdir dir="${build}/classes"/>
	</target>
	
	<target name="compile" depends="prepare">
		<javac destdir="${build}/classes" source="1.5" target="1.5" includeantruntime="true" debug="on">
		    <src path="${src}"/>
		</javac>
	</target>
	
	<target name="jar" depends="compile">
		<jar destfile="${dist}/iso9660.jar" basedir="${build}/classes">
			<include name="de/**/*.class"/>
			<manifest>
				<attribute name="Class-Path" value="sabre.jar"/>
			</manifest>
		</jar>
	</target>
</project>