[x3d-public] How to reenable X3DJSONLD.(JSON conversion to XML) java code

John Carlson yottzumm at gmail.com
Tue Sep 21 17:09:17 PDT 2021


JSON parsing was removed from the X3DJSAIL build.   Make the last two 
changes in the diff below (ones referencing coderextreme) to 
x3d/stylesheets/build.xml to reenable:

$ svn diff build.xml
Index: build.xml
===================================================================
--- build.xml   (revision 32463)
+++ build.xml   (working copy)
@@ -93,7 +93,7 @@
      <property name="saxon.dir"        location="java/lib" 
description="relative path from stylesheets directory"/>
      <property name="saxon.jar" value="saxon-he-10.6.jar"/><!-- 
saxon9he.jar -->

-    <property name=   "node.exe" value="node.exe"/>
+    <property name=   "node.exe" value="node"/>

      <!-- http://openexi.sourceforge.net -->
      <!-- https://sourceforge.net/projects/openexi/files -->
@@ -160,10 +160,12 @@
              <arg value="--version"/>
          </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">
              <arg value="-?" description="help information"/>
          </java>
+-->
          <echo>Check for node.js installation from 
https://nodejs.org</echo>
          <exec executable="${node.exe}">
              <arg value="--version"/>
@@ -271,6 +273,7 @@
      <property name="src.org.web3d.x3d.tests" 
value="${X3DJSAIL.relative.dir}/tests"/><!-- tests -->
      <property name="nashorn.dir" value="nashorn"/>

+    <property name="src.net.coderextreme" 
value="${X3DJSAIL.src.dir}/net/coderextreme"/>
      <property name="src.org.web3d.x3d.jsail" 
value="${X3DJSAIL.src.dir}/org/web3d/x3d/jsail"/>      <!-- concretes  -->
      <property name="src.org.web3d.x3d.sai" 
value="${X3DJSAIL.src.dir}/org/web3d/x3d/sai"/>        <!-- interfaces -->
      <property name="src.org.web3d.x3d.util" 
value="${X3DJSAIL.src.dir}/org/web3d/x3d/util"/>       <!-- utilities  -->
@@ -485,6 +488,7 @@
                  verbose="${javac.verbose}"
        includeantruntime="false">
              <src path="${src.org.web3d.x3d.jsail}"/>
+            <src path="${src.net.coderextreme}"/>
              <src path="${src.org.web3d.x3d.util.exi}"/>
              <src path="${src.org.web3d.x3d.util.x3duom}"/>
              <!-- -Xlint reports problems (mysteriously) with missing 
numbered versions of included lib/*.jar files, perhaps from other jars




More information about the x3d-public mailing list