Description: Disable PDML runtime which requires a proprietary library,
 fix compile targets for java8, specify source/target 8 and file-encoding.
Origin: upstream, http://www-912.ibm.com/j_dir/JTOpen.nsf/8178b1c14b1e9b6b8525624f0062fe9f/176869EA087DECFA86257F9400563508?OpenDocument
Forwarded: no
Author: Luca Vercelli <luca.vercelli.to@gmail.com>,
        tony mancill <tmancill@debian.org>
Last-Update: 2018-03-26
Index: libjt400-java/build.xml
===================================================================
--- libjt400-java.orig/build.xml
+++ libjt400-java/build.xml
@@ -496,8 +496,9 @@
 	           debug="on"
 	           debuglevel="lines,source"
 	           fork="true"
-		   source="5"
-		   target="5"
+		   source="8"
+		   target="8"
+		   encoding="iso-8859-1"
        	   executable="${jdk18}/bin/javac">
 			<classpath>
 				<pathelement path="${include}"/>
@@ -1355,12 +1356,12 @@
 	           Need "source" to find the pcml.dtd.  -->
 	</target>
 
-	<target name="pcml8" depends="init,compile">
+	<target name="pcml8" depends="init,compile8">
 		<condition property="pcmlRuntimeExists">
 			<and>
 				<available classname="java.nio.Buffer"/>
 				<!-- JDK 1.4 and higher. -->
-				<available classname="com.ibm.as400.data.ProgramCallDocument" classpath="${output}:${include}:${source}"/>
+				<!-- available classname="com.ibm.as400.data.ProgramCallDocument" classpath="${output}:${include}:${source}"/ -->
 			</and>
 		</condition>
 		<fail message="Can't find PCML runtime." unless="pcmlRuntimeExists"/>
