2023-08-30 21:40:03 +02:00
|
|
|
diff -urEbwB xalan-j_2_7_3.orig/build.xml xalan-j_2_7_3/build.xml
|
|
|
|
--- xalan-j_2_7_3.orig/build.xml 2023-08-30 18:36:44.177771503 +0200
|
|
|
|
+++ xalan-j_2_7_3/build.xml 2023-08-30 18:49:32.266249508 +0200
|
|
|
|
@@ -221,14 +221,12 @@
|
2017-10-03 14:09:15 +02:00
|
|
|
<pathelement location="${taglet.jar}" />
|
|
|
|
<pathelement location="${build.serializer.jar}" />
|
|
|
|
<pathelement location="${build.xalan.jar}" />
|
|
|
|
- <pathelement path="${java.class.path}" />
|
|
|
|
</path>
|
|
|
|
<path id="samples.class.path">
|
|
|
|
<pathelement location="${xmlapis.jar}" />
|
|
|
|
<pathelement location="${build.serializer.jar}" />
|
|
|
|
<pathelement location="${parser.jar}" />
|
|
|
|
<pathelement location="${build.xalan.jar}" />
|
|
|
|
- <pathelement path="${java.class.path}" />
|
|
|
|
</path>
|
|
|
|
<path id="compile.class.path">
|
|
|
|
<!-- Ensure the selected parser.jar file is used to compile against -->
|
2023-08-30 21:40:03 +02:00
|
|
|
@@ -237,7 +235,6 @@
|
2017-10-03 14:09:15 +02:00
|
|
|
<pathelement location="${xmlapis.jar}" />
|
|
|
|
<pathelement location="${build.serializer.jar}" />
|
|
|
|
<pathelement location="${parser.jar}" />
|
|
|
|
- <pathelement path="${java.class.path}" />
|
|
|
|
</path>
|
2023-08-30 21:40:03 +02:00
|
|
|
|
2017-10-03 14:09:15 +02:00
|
|
|
<path id="xslt.boot.class.path">
|
2023-08-30 21:40:03 +02:00
|
|
|
@@ -398,7 +395,6 @@
|
2017-10-03 14:09:15 +02:00
|
|
|
<exclude name="**/IncrementalSAXSource_Xerces.java"
|
|
|
|
unless="xerces.present" />
|
|
|
|
<classpath refid="compile.class.path" />
|
|
|
|
- <bootclasspath refid="xslt.boot.class.path" />
|
|
|
|
</javac>
|
|
|
|
<!-- Copy needed properties, resource, etc. files to be put into .jar file -->
|
|
|
|
<copy todir="${build.classes}">
|
2023-08-30 21:40:03 +02:00
|
|
|
@@ -414,6 +410,12 @@
|
2017-10-03 14:09:15 +02:00
|
|
|
<!-- =================================================================== -->
|
|
|
|
<target name="xalan-interpretive.compile" depends="xml.compile"
|
|
|
|
description="Compile the Xalan interpretive classes (skips XSLTC)" >
|
|
|
|
+
|
|
|
|
+ <gunzip src="${xml-commons-srcs.tar.gz}" dest="${build.dir}" />
|
|
|
|
+ <untar src="${xml-commons-srcs.tar}"
|
|
|
|
+ dest="${src.dir}">
|
|
|
|
+ </untar>
|
|
|
|
+
|
|
|
|
<echo message="Compiling Xalan interpretive classes" />
|
|
|
|
<javac srcdir="${src.dir}"
|
|
|
|
destdir="${build.classes}"
|
2023-08-30 21:40:03 +02:00
|
|
|
@@ -425,7 +427,6 @@
|
2017-10-03 14:09:15 +02:00
|
|
|
<include name="${xalan.reldir}/**/*.java" />
|
|
|
|
<exclude name="${xsltc.reldir}/**/*.java" />
|
|
|
|
<classpath refid="compile.class.path" />
|
|
|
|
- <bootclasspath refid="xslt.boot.class.path" />
|
|
|
|
<sourcepath refid="compile.source.path" />
|
|
|
|
</javac>
|
|
|
|
<!-- Copy needed properties, resource, etc. files to be put into .jar file -->
|
2023-08-30 21:40:03 +02:00
|
|
|
@@ -454,7 +455,6 @@
|
2017-10-03 14:09:15 +02:00
|
|
|
<!-- build.classes needed for
|
|
|
|
org.apache.xalan.xsltc.util.JavaCupRedirect -->
|
|
|
|
<pathelement location="${build.classes}" />
|
|
|
|
- <pathelement path="${java.class.path}" />
|
|
|
|
</path>
|
|
|
|
|
|
|
|
<!-- Attempt to determine dependency info for generated sources -->
|
2023-08-30 21:40:03 +02:00
|
|
|
@@ -469,7 +469,6 @@
|
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<classpath refid="xsltc.class.path" />
|
|
|
|
- <bootclasspath refid="xslt.boot.class.path" />
|
|
|
|
</javac>
|
|
|
|
<!-- These tricky uptodate statements hopefully determine if we
|
|
|
|
actually need to generate the java_cup and jlex files
|
2023-08-30 21:40:03 +02:00
|
|
|
@@ -534,7 +533,6 @@
|
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<classpath refid="xsltc.class.path" />
|
|
|
|
- <bootclasspath refid="xslt.boot.class.path" />
|
|
|
|
</javac>
|
|
|
|
</target>
|
|
|
|
|
2023-08-30 21:40:03 +02:00
|
|
|
@@ -549,7 +547,6 @@
|
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<classpath refid="xsltc.class.path" />
|
|
|
|
- <bootclasspath refid="xslt.boot.class.path" />
|
|
|
|
</javac>
|
|
|
|
</target>
|
|
|
|
|
2023-08-30 21:40:03 +02:00
|
|
|
@@ -748,104 +745,104 @@
|
2017-10-03 14:09:15 +02:00
|
|
|
<!-- Since the samples are packageless, they must be compiled separately. -->
|
|
|
|
<javac srcdir="${samples.dir}/SimpleTransform"
|
|
|
|
destdir="${build.samples}" excludes="${exclude}"
|
|
|
|
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
|
2023-08-30 21:40:03 +02:00
|
|
|
+ debug="${build.debug}"
|
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<classpath refid="samples.class.path" />
|
|
|
|
</javac>
|
|
|
|
<javac srcdir="${samples.dir}/UseStylesheetPI"
|
|
|
|
destdir="${build.samples}" excludes="${exclude}"
|
|
|
|
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
|
|
|
|
+ debug="${build.debug}"
|
2023-08-30 21:40:03 +02:00
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<classpath refid="samples.class.path" />
|
|
|
|
</javac>
|
|
|
|
<javac srcdir="${samples.dir}/UseStylesheetParam"
|
|
|
|
destdir="${build.samples}" excludes="${exclude}"
|
|
|
|
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
|
|
|
|
+ debug="${build.debug}"
|
2023-08-30 21:40:03 +02:00
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<classpath refid="samples.class.path" />
|
|
|
|
</javac>
|
|
|
|
<javac srcdir="${samples.dir}/SAX2SAX"
|
|
|
|
destdir="${build.samples}" excludes="${exclude}"
|
|
|
|
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
|
|
|
|
+ debug="${build.debug}"
|
2023-08-30 21:40:03 +02:00
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<classpath refid="samples.class.path" />
|
|
|
|
</javac>
|
|
|
|
<javac srcdir="${samples.dir}/DOM2DOM"
|
|
|
|
destdir="${build.samples}" excludes="${exclude}"
|
|
|
|
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
|
|
|
|
+ debug="${build.debug}"
|
2023-08-30 21:40:03 +02:00
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<classpath refid="samples.class.path" />
|
|
|
|
</javac>
|
|
|
|
<javac srcdir="${samples.dir}/Pipe"
|
|
|
|
destdir="${build.samples}" excludes="${exclude}"
|
2023-08-30 21:40:03 +02:00
|
|
|
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
|
|
|
|
+ debug="${build.debug}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<classpath refid="samples.class.path" />
|
|
|
|
</javac>
|
|
|
|
<javac srcdir="${samples.dir}/UseXMLFilters"
|
|
|
|
destdir="${build.samples}" excludes="${exclude}"
|
|
|
|
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
|
|
|
|
+ debug="${build.debug}"
|
2023-08-30 21:40:03 +02:00
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<classpath refid="samples.class.path" />
|
|
|
|
</javac>
|
|
|
|
<javac srcdir="${samples.dir}/Trace"
|
|
|
|
destdir="${build.samples}" excludes="${exclude}"
|
|
|
|
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
|
|
|
|
+ debug="${build.debug}"
|
2023-08-30 21:40:03 +02:00
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<classpath refid="samples.class.path" />
|
|
|
|
</javac>
|
|
|
|
<javac srcdir="${samples.dir}/ApplyXPath"
|
|
|
|
destdir="${build.samples}" excludes="${exclude}"
|
|
|
|
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
|
|
|
|
+ debug="${build.debug}"
|
2023-08-30 21:40:03 +02:00
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<classpath refid="samples.class.path" />
|
|
|
|
</javac>
|
|
|
|
<javac srcdir="${samples.dir}/ApplyXPathDOM"
|
|
|
|
destdir="${build.samples}" excludes="${exclude}"
|
|
|
|
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
|
|
|
|
+ debug="${build.debug}"
|
2023-08-30 21:40:03 +02:00
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<classpath refid="samples.class.path" />
|
|
|
|
</javac>
|
|
|
|
<javac srcdir="${samples.dir}/trax"
|
|
|
|
destdir="${build.samples}" excludes="${exclude}"
|
|
|
|
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
|
|
|
|
+ debug="${build.debug}"
|
2023-08-30 21:40:03 +02:00
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<classpath refid="samples.class.path" />
|
|
|
|
</javac>
|
|
|
|
<javac srcdir="${samples.dir}/extensions"
|
|
|
|
destdir="${build.samples}" excludes="${exclude}"
|
|
|
|
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
|
|
|
|
+ debug="${build.debug}"
|
2023-08-30 21:40:03 +02:00
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<classpath refid="samples.class.path" />
|
|
|
|
</javac>
|
|
|
|
<javac srcdir="${samples.dir}/Validate"
|
|
|
|
destdir="${build.samples}" excludes="${exclude}"
|
|
|
|
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
|
|
|
|
+ debug="${build.debug}"
|
2023-08-30 21:40:03 +02:00
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<classpath refid="samples.class.path" />
|
|
|
|
</javac>
|
|
|
|
<javac srcdir="${samples.dir}/TransformThread"
|
|
|
|
destdir="${build.samples}" excludes="${exclude}"
|
|
|
|
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
|
|
|
|
+ debug="${build.debug}"
|
2023-08-30 21:40:03 +02:00
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<classpath refid="samples.class.path" />
|
|
|
|
</javac>
|
|
|
|
<javac srcdir="${samples.dir}/XPathAPI"
|
|
|
|
destdir="${build.samples}" excludes="${exclude}"
|
|
|
|
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
|
|
|
|
+ debug="${build.debug}"
|
2023-08-30 21:40:03 +02:00
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<classpath refid="samples.class.path" />
|
2023-08-30 21:40:03 +02:00
|
|
|
@@ -889,7 +886,6 @@
|
2017-10-03 14:09:15 +02:00
|
|
|
<javac srcdir="${samples.dir}/servlet"
|
|
|
|
destdir="${build.servlet}/WEB-INF/classes"
|
|
|
|
debug="${build.debug}"
|
|
|
|
- bootclasspathref="xslt.boot.class.path"
|
2023-08-30 21:40:03 +02:00
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<classpath refid="samples.class.path" />
|
2023-08-30 21:40:03 +02:00
|
|
|
@@ -930,14 +926,14 @@
|
2017-10-03 14:09:15 +02:00
|
|
|
<target name="xsltc.samples.nojardepends">
|
|
|
|
<mkdir dir="${build.samples}"/>
|
|
|
|
<javac srcdir="${samples.dir}/translets"
|
|
|
|
- classpath="${java.class.path}:${build.xalan.jar}"
|
|
|
|
+ classpath="${build.xalan.jar}"
|
|
|
|
destdir="${build.samples}" excludes="${exclude}"
|
|
|
|
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
|
2023-08-30 21:40:03 +02:00
|
|
|
+ debug="${build.debug}"
|
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}"/>
|
2017-10-03 14:09:15 +02:00
|
|
|
<javac srcdir="${samples.dir}/CompiledJAXP"
|
|
|
|
destdir="${build.samples}" excludes="${exclude}"
|
|
|
|
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
|
|
|
|
+ debug="${build.debug}"
|
2023-08-30 21:40:03 +02:00
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}"/>
|
2017-10-03 14:09:15 +02:00
|
|
|
</target>
|
2023-08-30 21:40:03 +02:00
|
|
|
@@ -951,7 +947,7 @@
|
2017-10-03 14:09:15 +02:00
|
|
|
<mkdir dir="${build.samples}/CompiledApplet"/>
|
|
|
|
<javac srcdir="${samples.dir}/CompiledApplet"
|
|
|
|
destdir="${build.samples}/CompiledApplet" excludes="${exclude}"
|
|
|
|
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
|
|
|
|
+ debug="${build.debug}"
|
2023-08-30 21:40:03 +02:00
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}"/>
|
2017-10-03 14:09:15 +02:00
|
|
|
<jar jarfile="${build.xsltc.applet.jar}"
|
2023-08-30 21:40:03 +02:00
|
|
|
@@ -968,7 +964,7 @@
|
2017-10-03 14:09:15 +02:00
|
|
|
<mkdir dir="${build.samples}/CompiledBrazil"/>
|
|
|
|
<javac srcdir="${samples.dir}/CompiledBrazil"
|
|
|
|
destdir="${build.samples}/CompiledBrazil" excludes="${exclude}"
|
|
|
|
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
|
|
|
|
+ debug="${build.debug}"
|
2023-08-30 21:40:03 +02:00
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<classpath location="${brazil.jar}"/>
|
2023-08-30 21:40:03 +02:00
|
|
|
@@ -989,7 +985,7 @@
|
2017-10-03 14:09:15 +02:00
|
|
|
<mkdir dir="${build.samples}/CompiledEJB"/>
|
|
|
|
<javac srcdir="${samples.dir}/CompiledEJB"
|
|
|
|
destdir="${build.samples}/CompiledEJB" excludes="${exclude}"
|
|
|
|
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
|
|
|
|
+ debug="${build.debug}"
|
2023-08-30 21:40:03 +02:00
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<classpath location="${javaee-api.jar}"/>
|
2023-08-30 21:40:03 +02:00
|
|
|
@@ -1008,7 +1004,7 @@
|
2017-10-03 14:09:15 +02:00
|
|
|
<mkdir dir="${build.samples}/CompiledServlet"/>
|
|
|
|
<javac srcdir="${samples.dir}/CompiledServlet"
|
|
|
|
destdir="${build.samples}/CompiledServlet" excludes="${exclude}"
|
|
|
|
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
|
|
|
|
+ debug="${build.debug}"
|
2023-08-30 21:40:03 +02:00
|
|
|
target="${compiler.target}" source="${compiler.source}"
|
|
|
|
classpath="${build.xalan.jar}:${servlet-api.jar}"
|
|
|
|
nowarn="${compiler.nowarn}">
|
|
|
|
@@ -1627,7 +1623,7 @@
|
2017-10-03 14:09:15 +02:00
|
|
|
<!-- Use FOP to generate a pdf file (classpath may need updating! -sc 18-Apr-01)-->
|
|
|
|
<java fork="yes"
|
|
|
|
classname="org.apache.fop.apps.CommandLine"
|
|
|
|
- classpath="${java.class.path}:${build.xalan.jar}:${bin.dir}/fop.jar:${bin.dir}/w3c.jar">
|
|
|
|
+ classpath="${build.xalan.jar}:${bin.dir}/fop.jar:${bin.dir}/w3c.jar">
|
|
|
|
<arg line="${build.docs}/xalan-collate.fo build/docs/xalan.pdf"/>
|
|
|
|
</java>
|
|
|
|
</target>
|
2023-08-30 21:40:03 +02:00
|
|
|
@@ -1764,7 +1760,6 @@
|
|
|
|
nowarn="${compiler.nowarn}">
|
2017-10-03 14:09:15 +02:00
|
|
|
<include name="${serializer.reldir}/**/*.java" />
|
|
|
|
<classpath refid="compile.class.path" />
|
|
|
|
- <bootclasspath refid="xslt.boot.class.path" />
|
|
|
|
</javac>
|
|
|
|
<!-- Copy needed properties, resource, etc. files to be put into .jar file -->
|
|
|
|
<copy todir="${serializer.build.classes}">
|
2023-08-30 21:40:03 +02:00
|
|
|
Only in xalan-j_2_7_3: build.xml.orig
|
|
|
|
Only in xalan-j_2_7_3: build.xml.rej
|