From 327236ff5bbeddb3dc3f3a23f9af409d8268f791 Mon Sep 17 00:00:00 2001 From: Markus Alexander Kuppe <tlaplus.net@lemmster.de> Date: Wed, 20 May 2015 17:37:51 +0200 Subject: [PATCH] [Build] Removed javac's obsolete source and target statements for all invocations except main compile target. --- tlatools/customBuild.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tlatools/customBuild.xml b/tlatools/customBuild.xml index 425d3e4da..f062665e9 100644 --- a/tlatools/customBuild.xml +++ b/tlatools/customBuild.xml @@ -101,7 +101,7 @@ ==================================================================== </echo> <!-- compile aspectj related class files --> - <iajc destdir="${class.dir}" sourceRoots="${src-aj.dir}" debug="true" source="1.5" target="1.5"> + <iajc destdir="${class.dir}" sourceRoots="${src-aj.dir}" debug="true"> <classpath refid="project.classpath" /> <classpath> <pathelement location="lib/aspectjrt-1.8.5.jar" /> @@ -167,7 +167,7 @@ <target name="test" description="Executes accompining unit tests" unless="test.skip"> <!-- compile unit tests --> <mkdir dir="${test.class.dir}" /> - <javac includeantruntime="false" srcdir="${test.dir}" destdir="${test.class.dir}" debug="true" verbose="false" source="1.5" target="1.5"> + <javac includeantruntime="false" srcdir="${test.dir}" destdir="${test.class.dir}" debug="true" verbose="false"> <classpath refid="project.classpath" /> <classpath> <pathelement location="lib/junit-4.8.2.jar" /> @@ -226,7 +226,7 @@ <target name="test-dist" description="Executes accompining unit tests on jar file" unless="test.skip"> <!-- compile unit tests --> <mkdir dir="${test.class.dir}" /> - <javac includeantruntime="false" srcdir="${test.dir}" destdir="${test.class.dir}" debug="true" verbose="false" source="1.5" target="1.5"> + <javac includeantruntime="false" srcdir="${test.dir}" destdir="${test.class.dir}" debug="true" verbose="false"> <classpath refid="project.classpath" /> <classpath> <pathelement location="lib/junit-4.8.2.jar" /> @@ -279,7 +279,7 @@ <target name="test-dist-long" description="Executes accompining long-running unit tests on jar file" unless="test.skip"> <!-- compile unit tests --> <mkdir dir="${test.class.dir}" /> - <javac includeantruntime="false" srcdir="${test.dir}-long" destdir="${test.class.dir}" debug="true" verbose="false" source="1.5" target="1.5"> + <javac includeantruntime="false" srcdir="${test.dir}-long" destdir="${test.class.dir}" debug="true" verbose="false"> <classpath refid="project.classpath" /> <classpath> <pathelement location="lib/junit-4.8.2.jar" /> -- GitLab