[x3d-public] Outstanding patches to www.web3d.org/x3d/stylesheets/build.xml. Required to get new version of x3d.py (still broken)
John Carlson
yottzumm at gmail.com
Thu Jun 9 02:43:18 PDT 2022
Cumulative patches to get x3d.py (et.al) built:
$ svn diff build.xml
Index: build.xml
===================================================================
--- build.xml (revision 33134)
+++ build.xml (working copy)
@@ -91,7 +91,7 @@
<!-- https://sourceforge.net/projects/saxon/files/Saxon-HE/11/Java/ -->
<!--
https://www.saxonica.com/documentation10/#!about/gettingstarted/gettingstartedjava
-->
<property name="saxon.dir" location="java/lib"
description="relative path from stylesheets directory"/>
- <property name="saxon.jar" value="saxon-he-11.2.jar"/><!--
previously saxon-he-10.6.jar saxon9he.jar -->
+ <property name="saxon.jar" value="saxon-he-11.3.jar"/><!--
previously saxon-he-10.6.jar saxon9he.jar -->
<property name= "node.exe" value="node.exe"/>
@@ -161,9 +161,11 @@
</exec>
<!--
https://www.saxonica.com/documentation10/#!using-xsl/commandline -->
<echo>saxon -? help</echo>
- <java classname="net.sf.saxon.Transform"
classpath="${saxon.dir}/${saxon.jar};." failonerror="true">
+ <!--
+ <java classname="net.sf.saxon.Transform"
classpath="${saxon.dir}/${saxon.jar};${X3DJSAIL.lib.dir}/xmlresolver-4.2.0.jar;${X3DJSAIL.lib.dir}/xmlresolver-4.2.0-data.jar;."
failonerror="true">
<arg value="-?" description="help information"/>
</java>
+ -->
<echo>Check for node.js installation from https://nodejs.org</echo>
<exec executable="${node.exe}">
<arg value="--version"/>
@@ -445,7 +447,7 @@
<echo message="create autogenerated Java source code:"/>
<!--
https://stackoverflow.com/questions/51916221/javax-xml-bind-jaxbexception-implementation-of-jaxb-api-has-not-been-found-on-mo
-->
<!--
https://stackoverflow.com/questions/48204141/replacements-for-deprecated-jpms-modules-with-java-ee-apis/48279048#48279048
-->
- <java classname="net.sf.saxon.Transform"
classpath="${saxon.dir}/${saxon.jar};." fork="${fork}" failonerror="true">
+ <java classname="net.sf.saxon.Transform"
classpath="${saxon.dir}/${saxon.jar};${X3DJSAIL.lib.dir}/xmlresolver-4.2.0.jar;${X3DJSAIL.lib.dir}/xmlresolver-4.2.0-data.jar;."
fork="${fork}" failonerror="true">
<!-- arg value="-t" description="timing information"/ -->
<arg value="-warnings:recover" description="recover after
writing a warning message"/>
<arg value="-o:TempSaiJava.txt" description="output-doc"/>
@@ -1293,7 +1295,7 @@
<target name="BuildX3dOntologyFromX3duom.saxon" depends=""
description="Build X3D Ontology from X3D Unified Object Model (X3DUOM)" >
<echo message="Following output is for X3D ontology version 4.0 in
Terse Triple Language (Turtle)"/>
<!-- TODO other versions of X3D -->
- <java classname="net.sf.saxon.Transform"
classpath="${saxon.dir}/${saxon.jar};." fork="${fork}">
+ <java classname="net.sf.saxon.Transform"
classpath="${saxon.dir}/${saxon.jar};${X3DJSAIL.lib.dir}/xmlresolver-4.2.0.jar;${X3DJSAIL.lib.dir}/xmlresolver-4.2.0-data.jar;."
fork="${fork}">
<!-- arg value="-t" description="timing information"/ -->
<arg value="-warnings:recover" description="recover after
writing a warning message"/>
<arg
value="-s:${specifications.dir}/${X3dUnifiedObjectModel4.0}"
description="source-doc"/>
@@ -1318,7 +1320,7 @@
<target name="BuildX3dPythonPackageFromX3duom.saxon" depends=""
description="Build Python X3D Package from X3D Unified Object Model
(X3DUOM)" >
<echo message="Following output is for X3D version 4.0 in
X3dPackageDirectory=${X3dPackageDirectory}"/><!-- TODO other versions of
X3D -->
- <java classname="net.sf.saxon.Transform"
classpath="${saxon.dir}/${saxon.jar};." fork="${fork}" failonerror="true">
+ <java classname="net.sf.saxon.Transform"
classpath="${saxon.dir}/${saxon.jar};${X3DJSAIL.lib.dir}/xmlresolver-4.2.0.jar;${X3DJSAIL.lib.dir}/xmlresolver-4.2.0-data.jar;."
fork="${fork}" failonerror="true">
<!-- arg value="-t" description="timing information"/ -->
<arg value="-warnings:recover" description="recover after
writing a warning message"/>
<arg
value="-s:${specifications.dir}/${X3dUnifiedObjectModel4.0}"
description="source-doc"/>
================================
If anyone wants the fixed x3d.py, let me know.
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20220609/526c3417/attachment-0001.html>
More information about the x3d-public
mailing list