summaryrefslogtreecommitdiff
blob: a4ad2d262a1528a247afd091534469bf609c47de (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
32
33
34
35
36
--- build.xml.orig	2005-04-15 14:36:14.000000000 +0200
+++ build.xml	2005-04-15 14:38:45.000000000 +0200
@@ -19,6 +19,14 @@
 	<property name="jar.base" value="/usr/share/java"/>
 	<property name="javadoc.base" value="/usr/share/javadoc"/>
 
+	<path id="compile.classpath">
+		<pathelement location="lib/jal.jar" />
+		<pathelement location="lib/colt.jar" />
+		<pathelement location="lib/fastutil.jar" />
+		<pathelement location="lib/gnu.getopt.jar" />
+		<pathelement location="lib/mg4j.jar" />
+	</path>
+	
 	<!--
 		Groovy and Cobertura need different versions of asm.
 		Due to the delegation-based class-loading model used
@@ -119,7 +127,9 @@
 	<target name="all" depends="jar,javadoc"/>
 
 	<target name="compile" depends="init" description="Compile standard sources (not test files)">
-		<javac srcdir="${src}" includes="**${subdir}" excludes="test/**" debug="on" optimize="on" destdir="${build}" source="1.4"/>
+		<javac srcdir="${src}" includes="**${subdir}" excludes="test/**" debug="on" optimize="on" destdir="${build}" source="1.4" target="1.4">
+			<classpath refid="compile.classpath" />
+		</javac>
 	</target>
 
 	<target name="jar" depends="compile" description="Creates jar (without tests)">
@@ -144,6 +154,7 @@
 			<link href="${colt.apiurl}"/>
 			<link href="${jal.apiurl}"/>
 			<link href="${mg4j.apiurl}"/>
+			<classpath refid="compile.classpath" />
 		</javadoc>
 	</target>