summaryrefslogtreecommitdiff
path: root/external/apache-commons
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2014-10-06 10:20:53 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2014-10-06 10:21:09 +0200
commit0595f3ff18f1105ba7bea4a9599c071575ea703c (patch)
tree28b09f258867ec860d0bb4366ff8be45240e7823 /external/apache-commons
parenta836afe471d6df7bfc932fc419f7ccad7d40efb2 (diff)
Allow building with java9 (first installement)
In java9, there is no option for source/target 1.5, the lowest version is 1.6. This commit also patches the relevant external libraries in order to be able to build with build-wide source/target Change-Id: I68807c973a2a8be2f9b3a6e01243e36cb7110a12
Diffstat (limited to 'external/apache-commons')
-rw-r--r--external/apache-commons/patches/logging.patch29
1 files changed, 20 insertions, 9 deletions
diff --git a/external/apache-commons/patches/logging.patch b/external/apache-commons/patches/logging.patch
index 953cf614768d..c225e5a30338 100644
--- a/external/apache-commons/patches/logging.patch
+++ b/external/apache-commons/patches/logging.patch
@@ -1,19 +1,19 @@
--- misc/commons-logging-1.1.1-src/build.xml 2007-11-22 00:27:52.000000000 +0100
+++ misc/build/commons-logging-1.1.1-src/build.xml 2008-06-24 14:23:56.316301736 +0200
-@@ -130,10 +130,10 @@
+@@ -129,12 +129,6 @@
+
<!-- ========== Compiler Defaults ========================================= -->
- <!-- Version of java class files to generate. -->
+- <!-- Version of java class files to generate. -->
- <property name="target.version" value="1.2"/>
-+ <property name="target.version" value="1.5"/>
-
- <!-- Version of java source to accept -->
+-
+- <!-- Version of java source to accept -->
- <property name="source.version" value="1.2"/>
-+ <property name="source.version" value="1.3"/>
-
+-
<!-- Should Java compilations set the 'debug' compiler option? -->
<property name="compile.debug" value="true"/>
-@@ -283,6 +283,10 @@
+
+@@ -283,6 +277,10 @@
classpathref="compile.classpath"
classname="org.apache.avalon.framework.logger.Logger"/>
@@ -24,7 +24,18 @@
<available file="${log4j12.jar}" property="log4j12.present"/>
<available file="${log4j13.jar}" property="log4j13.present"/>
<available file="${build.home}/docs" property="maven.generated.docs.present"/>
-@@ -373,6 +377,8 @@
+@@ -362,8 +360,8 @@
+ debug="${compile.debug}"
+ deprecation="${compile.deprecation}"
+ optimize="${compile.optimize}"
+- source="${source.version}"
+- target="${target.version}">
++ source="${ant.build.javac.source}"
++ target="${ant.build.javac.target}">
+
+ <classpath refid="compile.classpath"/>
+
+@@ -373,6 +371,8 @@
unless="logkit.present"/>
<exclude name="org/apache/commons/logging/impl/AvalonLogger.java"
unless="avalon-framework.present"/>