File pdfbox-1.8.12-sourcetarget.patch of Package apache-pdfbox.8984
--- pdfbox-1.8.12/pdfbox/build.xml 2017-09-15 07:55:42.584501156 +0200
+++ pdfbox-1.8.12/pdfbox/build.xml 2017-09-15 08:46:31.257902337 +0200
@@ -23,6 +23,9 @@
<property name="build.compiler" value="modern" />
+ <property name="compile.source" value="1.5" />
+ <property name="compile.target" value="1.5" />
+
<property name="download.dir" value="download" />
<property name="jar.dir" value="external" />
<property name="tool.dir" value="tools" />
@@ -175,10 +178,10 @@
description="Compile Java source files">
<!-- required encoding flag to be able to build using ibm-jdk on redhat ES-->
<javac srcdir="${pdfbox.src.dir}" destdir="${pdfbox.dest.dir}"
- target="1.5" source="1.5" debug="on" deprecation="on"
+ target="${compile.target}" source="${compile.source}" debug="on" deprecation="on"
classpathref="pdfbox.build.classpath" encoding="ISO-8859-1"/>
<javac srcdir="${pdfbox.test.dir}" destdir="${pdfbox.dest.dir}"
- target="1.5" source="1.5" debug="on" deprecation="on"
+ target="${compile.target}" source="${compile.source}" debug="on" deprecation="on"
classpathref="pdfbox.build.classpath" encoding="ISO-8859-1"/>
</target>
@@ -186,10 +189,10 @@
description="Compile Java source files">
<!-- required encoding flag to be able to build using ibm-jdk on redhat ES-->
<javac srcdir="${fontbox.src.dir}" destdir="${fontbox.dest.dir}"
- target="1.5" source="1.5" debug="on" deprecation="on"
+ target="${compile.target}" source="${compile.source}" debug="on" deprecation="on"
classpathref="fontbox.build.classpath" encoding="ISO-8859-1"/>
<javac srcdir="${fontbox.test.dir}" destdir="${fontbox.dest.dir}"
- target="1.5" source="1.5" debug="on" deprecation="on"
+ target="${compile.target}" source="${compile.source}" debug="on" deprecation="on"
classpathref="fontbox.build.classpath" encoding="ISO-8859-1"/>
</target>
@@ -197,10 +200,10 @@
description="Compile Java source files">
<!-- required encoding flag to be able to build using ibm-jdk on redhat ES-->
<javac srcdir="${jempbox.src.dir}" destdir="${jempbox.dest.dir}"
- target="1.5" source="1.5" debug="on" deprecation="on"
+ target="${compile.target}" source="${compile.source}" debug="on" deprecation="on"
classpathref="jempbox.build.classpath" encoding="ISO-8859-1"/>
<javac srcdir="${jempbox.test.dir}" destdir="${jempbox.dest.dir}"
- target="1.5" source="1.5" debug="on" deprecation="on"
+ target="${compile.target}" source="${compile.source}" debug="on" deprecation="on"
classpathref="jempbox.build.classpath" encoding="ISO-8859-1"/>
</target>
@@ -809,6 +812,7 @@
doctitle="${project.name}"
verbose="no"
classpathref="pdfbox.build.classpath"
+ source="${compile.source}"
encoding="ISO-8859-1"
breakiterator="yes">
<link href="http://java.sun.com/j2se/1.5.0/docs/api/"/>