summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build-jzlib.xml4
-rw-r--r--build.xml10
2 files changed, 11 insertions, 3 deletions
diff --git a/build-jzlib.xml b/build-jzlib.xml
index 31eeeea..b34b222 100644
--- a/build-jzlib.xml
+++ b/build-jzlib.xml
@@ -19,7 +19,9 @@
<target name="compile" depends="init"
description="compile the source " >
- <javac srcdir="${src}" destdir="${build}" debug="${compile.debug}"/>
+ <javac srcdir="${src}" destdir="${build}" debug="${compile.debug}"
+ source="1.6"
+ target="1.6"/>
</target>
<target name="dist" depends="compile"
diff --git a/build.xml b/build.xml
index 065cdef..72cc618 100644
--- a/build.xml
+++ b/build.xml
@@ -46,7 +46,10 @@
<target name="compile" depends="init"
description="compile the source " >
- <javac srcdir="${src}" destdir="${build}" classpathref="classpath" debug="${compile.debug}">
+ <javac srcdir="${src}" destdir="${build}" classpathref="classpath"
+ debug="${compile.debug}"
+ source="1.6"
+ target="1.6">
<compilerarg line="-encoding utf-8"/>
</javac>
</target>
@@ -63,7 +66,10 @@
<target name="compile-tests" depends="dist"
description="compile the test sources " >
- <javac srcdir="${src.tests}" destdir="${src.tests}" debug="${compile.debug}">
+ <javac srcdir="${src.tests}" destdir="${src.tests}"
+ debug="${compile.debug}"
+ source="1.6"
+ target="1.6">
<compilerarg line="-encoding utf-8"/>
<classpath>
<pathelement location="${jar}"/>