File libserializer-1.1.6-sourcetarget.patch of Package libserializer
Index: libserializer-1.1.6/common_build.xml
===================================================================
--- libserializer-1.1.6.orig/common_build.xml
+++ libserializer-1.1.6/common_build.xml
@@ -136,8 +136,8 @@ TYPICAL TARGET SEQUENCE
<property name="javac.deprecation"
value="true"
description="Indicates whether source should be compiled with deprecation information" />
- <property name="javac.source" value="1.5" description="Provide source compatibility with specified release" />
- <property name="javac.target" value="1.5" description="Generate class files for specific VM version" />
+ <property name="javac.source" value="1.8" description="Provide source compatibility with specified release" />
+ <property name="javac.target" value="1.8" description="Generate class files for specific VM version" />
<!-- Build Cache properties -->
<property name="build.cache.dir"
@@ -1065,7 +1065,7 @@ TYPICAL TARGET SEQUENCE
debug="${javac.debug}"
deprecation="${javac.deprecation}"
fork="true"
- source="${javac.source}"
+ source="1.8"
target="${javac.target}">
<classpath>
<path refid="classpath" />
@@ -1239,7 +1239,7 @@ TYPICAL TARGET SEQUENCE
<javac destdir="${testclasses.dir}"
debug="true"
optimize="false"
- source="${javac.source}"
+ source="1.8"
target="${javac.target}"
fork="true">
<src path="${testsrc.dir}" />
@@ -1340,7 +1340,7 @@ TYPICAL TARGET SEQUENCE
depends="javadoc.init, compile">
<javadoc destdir="${javadoc.dir}/docs/api"
access="public"
- source="${javac.source}"
+ source="1.8"
use="true"
notree="false"
nonavbar="false"