File: disable-PDML-runtime.patch

package info (click to toggle)
libjt400-java 9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 35,296 kB
  • ctags: 50,596
  • sloc: java: 381,197; xml: 4,006; makefile: 17
file content (38 lines) | stat: -rw-r--r-- 1,797 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Description: Disable PDML runtime, propietary library jui400.jar
 needed and fix compile targets for java6 and java8.
Origin: upstream, http://www-912.ibm.com/j_dir/JTOpen.nsf/8178b1c14b1e9b6b8525624f0062fe9f/176869EA087DECFA86257F9400563508?OpenDocument
Forwarded: no
Author: Luca Vercelli <luca.vercelli.to@gmail.com>
Last-Update: 2016-06-08
--- a/build.xml
+++ b/build.xml
@@ -1291,12 +1291,12 @@
 	<!--///////////////////////////////////////////////////////////////////////////
 	    // Target: pcml
 	    ///////////////////////////////////////////////////////////////////////////-->
-	<target name="pcml6" depends="init,compile">
+	<target name="pcml6" depends="init,compile6">
 		<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"/>
@@ -1312,12 +1312,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"/>