fix source level to 1.6

This commit is contained in:
Peter Hormanns 2016-04-08 12:33:17 +02:00
parent f470ed8722
commit 6a02973d5b

View File

@ -88,7 +88,10 @@
<target name="compile" description="compilieren">
<mkdir dir="${build.home}" />
<mkdir dir="${build.home}/cls" />
<javac srcdir="${src.home}" destdir="${build.home}/cls" debug="${compile.debug}" deprecation="${compile.deprecation}" optimize="${compile.optimize}" encoding="UTF8" includeantruntime="false">
<javac srcdir="${src.home}" destdir="${build.home}/cls"
source="1.6" target="1.6"
debug="${compile.debug}" deprecation="${compile.deprecation}"
optimize="${compile.optimize}" encoding="UTF8" includeantruntime="false">
<classpath refid="compile.classpath" />
</javac>
</target>
@ -96,7 +99,11 @@
<target name="compile-test" description="tests compilieren" depends="compile">
<mkdir dir="${build.home}" />
<mkdir dir="${build.home}/test" />
<javac srcdir="${test.home}" destdir="${build.home}/test" debug="${compile.debug}" deprecation="${compile.deprecation}" optimize="${compile.optimize}" encoding="UTF8" includeantruntime="false">
<javac
srcdir="${test.home}" destdir="${build.home}/test"
source="1.6" target="1.6"
debug="${compile.debug}" deprecation="${compile.deprecation}"
optimize="${compile.optimize}" encoding="UTF8" includeantruntime="false">
<classpath refid="compile.classpath" />
<classpath>
<pathelement path="${compile.classpath}"/>