summaryrefslogtreecommitdiff
blob: 4bab2bc9a88066db56ae1adf910be2efd2341a47 (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
<?xml version="1.0" encoding="UTF-8"?>
<project name="lzmajio" default="dist" basedir=".">
	<!-- set global properties for this build -->
	<property name="src" location="src"/>
	<property name="build" location="build"/>

	<target name="mkdir">
		<mkdir dir="${build}"/>
	</target>

	<target name="compile" depends="mkdir">
		<javac srcdir="." destdir="${build}" debug="on" optimize="on" source="1.5">
			<classpath>
				<pathelement location="lzma.jar"/>
			</classpath>
			<compilerarg value="-Xlint"/>

			<!-- following a very temporary list of files to be build -->
			<include name="*.java"/>
		</javac>
	</target>

	<target name="jar" depends="compile" description="generate the distribution">
		<jar jarfile="lzmajio.jar" basedir="${build}">
		</jar>    
	</target>

</project>