Files
ant-antunit/ant-antunit-sourcetarget.patch

57 lines
2.1 KiB
Diff

diff -urEbwB apache-ant-antunit-1.4.1.orig/build.xml apache-ant-antunit-1.4.1/build.xml
--- apache-ant-antunit-1.4.1.orig/build.xml 2022-05-06 10:40:22.402827578 +0200
+++ apache-ant-antunit-1.4.1/build.xml 2022-05-06 10:56:51.320655611 +0200
@@ -25,8 +25,5 @@
<!-- don't fork junit; regexp classes not available -->
<property name="junit.fork" value="false" />
- <property name="javac.test-source" value="1.5"/>
- <property name="javac.test-target" value="1.5"/>
-
<import file="common/build.xml"/>
</project>
diff -urEbwB apache-ant-antunit-1.4.1.orig/common/build.properties apache-ant-antunit-1.4.1/common/build.properties
--- apache-ant-antunit-1.4.1.orig/common/build.properties 2022-05-06 10:40:22.402827578 +0200
+++ apache-ant-antunit-1.4.1/common/build.properties 2022-05-06 10:48:36.293737379 +0200
@@ -41,8 +41,6 @@
# javac properties
-javac.-source=1.2
-javac.-target=1.2
javac.debug=on
diff -urEbwB apache-ant-antunit-1.4.1.orig/common/build.xml apache-ant-antunit-1.4.1/common/build.xml
--- apache-ant-antunit-1.4.1.orig/common/build.xml 2022-05-06 10:40:22.402827578 +0200
+++ apache-ant-antunit-1.4.1/common/build.xml 2022-05-06 10:51:30.226762667 +0200
@@ -35,10 +35,6 @@
and other libraries-->
<property file="${ant.home}/lib/libraries.properties"/>
- <!-- javac properties -->
- <property name="javac.test-source" value="${javac.-source}"/>
- <property name="javac.test-target" value="${javac.-target}"/>
-
<tstamp>
<format property="artifact.publication.datetime" pattern="yyyyMMddHHmmss"/>
</tstamp>
@@ -65,8 +61,6 @@
srcdir="src/main"
destdir="${build.classes}"
debug="${javac.debug}"
- source="${javac.-source}"
- target="${javac.-target}"
includeantruntime="true"
classpathref="classpath.compile"
/>
@@ -140,8 +134,6 @@
srcdir="${src.junit}"
destdir="${build.testclasses}"
debug="${javac.debug}"
- source="${javac.test-source}"
- target="${javac.test-target}"
>
<classpath>
<pathelement location="${jarname}"/>