[x3d-public] quick fix to X3DJSAIL stylesheet??? (will download antcontrib and NetBeans to get proper subversion diff)

Brutzman, Donald (Don) (CIV) brutzman at nps.edu
Sat Jan 15 18:38:11 PST 2022


Between first announcing an expected change, and fully developing/testing it, a lot of code can change.

If I accumulate many changes representing hours of work that I don't want to lose, I might check it in for stable development progress.  Apologies if a code error crept in, but it is developmental.

Recommend that you do not update and test your local build until I finish and announce that the update is ready and fully tested with the regression suite.  Otherwise you are merely getting intermediate bugs and problems that are already being worked on - no need for that static.

X3DJSAIL is currently in motion.  Am still working on and testing the sourceCode refinements (formerly sourceText in JSON), also testing relaxation of upper bounds on lighting intensity, also working on documentation for JDK17 changes.  After that (as previously announced) I'll be working on X3D Python and also X3D Ontology.  Typically I work to ensure that all of these pass the regression suite consistently before announcing availability of updates.  Working "all of the above" is a great way to really ensure correctness, since each language and encoding has different strengths and idiosyncrasies.

So... please stand by until next release announcement.  Again thanks for your efforts.

all the best, Don
--
Don Brutzman  Naval Postgraduate School, Code USW/Br        brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA    +1.831.656.2149
X3D graphics, virtual worlds, Navy robotics https:// faculty.nps.edu/brutzman

From: John Carlson <yottzumm at gmail.com>
Sent: Saturday, January 15, 2022 4:26 PM
To: Brutzman, Donald (Don) (CIV) <brutzman at nps.edu>; X3D Graphics public mailing list <x3d-public at web3d.org>
Subject: quick fix to X3DJSAIL stylesheet??? (will download antcontrib and NetBeans to get proper subversion diff)

NPS WARNING: *external sender* verify before acting.

$ ant create.X3DJSAIL
Buildfile: C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\build.xml
  [taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.

create.X3DJSAIL:
     [echo] Build API for X3D Java Scene Authoring Interface Library (X3DJSAIL) from X3D Unified Object Model (X3DUOM)
  [taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.

versions:
     [echo]   ANT_HOME=${env.ANT_HOME}
     [echo]  JAVA_HOME=C:/openjdk-17.0.1_windows-x64_bin/jdk-17.0.1
     [echo] PYTHONHOME=${env.PYTHONHOME}
     [echo] PYTHONPATH=${env.PYTHONPATH}
     [echo] Check CLASSPATH for X3DJSAIL X3DJSAIL.4.0.full.jar or X3DJSAIL.4.0.classes.jar
     [echo] CLASSPATH=${env.CLASSPATH}
     [echo] javac source/target      $java.source=1.8
     [echo]                          $java.target=1.8
     [echo] Java/JVM version    $ant.java.version=17
     [echo] Java/JVM detail version $java.version=17.0.1
     [echo] Saxon directory            $saxon.dir=C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib
     [echo] Saxon jar                  $saxon.jar=saxon-he-10.6.jar
     [echo] Ant version              $ant.version=Apache Ant(TM) version 1.10.12 compiled on October 13 2021
     [echo]
     [echo] ant -version
     [exec] Apache Ant(TM) version 1.10.12 compiled on October 13 2021
     [echo] java -version
     [exec] openjdk version "17.0.1" 2021-10-19
     [exec] OpenJDK Runtime Environment (build 17.0.1+12-39)
     [exec] OpenJDK 64-Bit Server VM (build 17.0.1+12-39, mixed mode, sharing)
     [echo] python -version
     [exec] Python 3.7.9
     [echo] Check for node.js installation from https://nodejs.org<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fnodejs.org%2F&data=04%7C01%7Cbrutzman%40nps.edu%7C7324c4da8ec04b4be5b808d9d886da8e%7C6d936231a51740ea9199f7578963378e%7C0%7C0%7C637778895975721532%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=wpaTzsWjFGw04%2FODxPeQoyb3OXSq6UVD2tsOU5x%2BUGk%3D&reserved=0>
     [exec] v16.13.2
     [echo] X3DJSAIL.4.0.full.jar -version
     [java] Error: Unable to access jarfile C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\jars\X3DJSAIL.4.0.full.jar
     [java] Java Result: 1
     [echo] Configuration settings:  https://savage.nps.edu/Savage/developers.html
     [echo] ===========================================
     [echo] clean prior autogenerated products, if any...
     [echo] delete autogenerated test class HelloWorldProgramOutput.java
   [delete] Could not find file C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\examples\HelloWorldProgramOutput.java to delete.
     [echo] delete autogenerated test class flowers4.java
   [delete] Could not find file C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\examples\flowers4.java to delete.
     [echo] copy latest stylesheets:
     [copy] Warning: Could not find file C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\saxon-he-10.6.jar to copy.
     [copy] Copying 1 file to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\tools\canonical\dist\lib\X3dC14n.jar to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\X3dC14n.jar
     [copy] Warning: Could not find file C:\languages\java\exificient-code\exificient-gui\target\exificient-gui-jar-with-dependencies.jar to copy.
     [copy] Warning: Could not find file C:\languages\java\openexi-code\trunk\nagasena\build\nagasena.jar to copy.
     [copy] Warning: Could not find file C:\languages\java\openexi-code\trunk\nagasena\build\nagasena-rta.jar to copy.
     [copy] Copying 1 file to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\X3dExtrusionCrossSectionToSvg.xslt to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets\X3dExtrusionCrossSectionToSvg.xslt
     [copy] Copying 1 file to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\X3dToJava.xslt to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets\X3dToJava.xslt
     [copy] Copying 1 file to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\X3dToNodeJS.xslt to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets\X3dToNodeJS.xslt
     [copy] Copying 1 file to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\X3dToJson.xslt to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets\X3dToJson.xslt
     [copy] Copying 1 file to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\X3dToPython.xslt to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets\X3dToPython.xslt
     [copy] Copying 1 file to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\X3dToVrml97.xslt to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets\X3dToVrml97.xslt
     [copy] Copying 1 file to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\X3dToX3dvClassicVrmlEncoding.xslt to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets\X3dToX3dvClassicVrmlEncoding.xslt
     [copy] Copying 1 file to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\X3dToX3dom.xslt to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets\X3dToX3dom.xslt
     [copy] Copying 1 file to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\X3dToHtml.xslt to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets\X3dToHtml.xslt
     [copy] Copying 1 file to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\X3dToXhtml.xslt to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets\X3dToXhtml.xslt
     [copy] Copying 1 file to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\X3dTidy.xslt to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets\X3dTidy.xslt
     [copy] Copying 1 file to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\X3dModelMetaToMarkdown.xslt to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\stylesheets\X3dModelMetaToMarkdown.xslt
     [copy] Copying 28 files to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\X3dUnifiedObjectModel-3.0.xml to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\X3dUnifiedObjectModel-3.0.xml
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\X3dUnifiedObjectModel-3.1.xml to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\X3dUnifiedObjectModel-3.1.xml
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\X3dUnifiedObjectModel-3.2.xml to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\X3dUnifiedObjectModel-3.2.xml
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\X3dUnifiedObjectModel-3.3.xml to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\X3dUnifiedObjectModel-3.3.xml
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\X3dUnifiedObjectModel-4.0.xml to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\X3dUnifiedObjectModel-4.0.xml
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\X3dUnifiedObjectModel.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\X3dUnifiedObjectModel.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-3.0-Web3dExtensionsAmendment1.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-3.0-Web3dExtensionsAmendment1.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-3.0-Web3dExtensionsPrivate.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-3.0-Web3dExtensionsPrivate.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-3.0-Web3dExtensionsPublic.Specification.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-3.0-Web3dExtensionsPublic.Specification.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-3.0-Web3dExtensionsPublic.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-3.0-Web3dExtensionsPublic.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-3.0.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-3.0.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-3.1-Web3dExtensionsPrivate.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-3.1-Web3dExtensionsPrivate.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-3.1-Web3dExtensionsPublic.Specification.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-3.1-Web3dExtensionsPublic.Specification.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-3.1-Web3dExtensionsPublic.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-3.1-Web3dExtensionsPublic.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-3.1.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-3.1.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-3.2-Web3dExtensionsPrivate.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-3.2-Web3dExtensionsPrivate.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-3.2-Web3dExtensionsPublic.Specification.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-3.2-Web3dExtensionsPublic.Specification.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-3.2-Web3dExtensionsPublic.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-3.2-Web3dExtensionsPublic.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-3.2.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-3.2.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-3.3-Web3dExtensionsPrivate.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-3.3-Web3dExtensionsPrivate.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-3.3-Web3dExtensionsPublic.Specification.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-3.3-Web3dExtensionsPublic.Specification.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-3.3-Web3dExtensionsPublic.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-3.3-Web3dExtensionsPublic.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-3.3.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-3.3.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-4.0-Web3dExtensionsPrivate.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-4.0-Web3dExtensionsPrivate.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-4.0-Web3dExtensionsPublic.Specification.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-4.0-Web3dExtensionsPublic.Specification.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-4.0-Web3dExtensionsPublic.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-4.0-Web3dExtensionsPublic.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-4.0.xsd to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-4.0.xsd
     [copy] Copying C:\x3d-code\www.web3d.org<http://www.web3d.org>\specifications\x3d-schema-changelog.txt to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\specifications\x3d-schema-changelog.txt
     [echo] $env.CLASSPATH=${env.CLASSPATH}
     [echo] create autogenerated Java source code for X3DUOM using JAXB:
  [taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.

create.X3DUOM.JAXB.schema:
     [echo] Netbeans 11+ (Java 12+) prerequisite is to include following in your netbeans.conf file:
     [echo]   -J-Djavax.xml.bind.context.factory=com.sun.xml.bind.v2.ContextFactory
     [echo] Ant xjc with classpath=C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\lib\support\jaxb/*.jar
      [xjc] Consider using <depends>/<produces> so that XJC won't do unnecessary compilation
      [xjc] Compiling file:/C:/x3d-code/www.web3d.org/specifications/X3dUnifiedObjectModel.xsd<http://www.web3d.org/specifications/X3dUnifiedObjectModel.xsd>
      [xjc] Writing output to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\src
     [echo] Compiling org.web3d.x3d.x3duom JAXB classes
    [javac] Compiling 29 source files to C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\java\classes
     [echo] create autogenerated Java source code:
     [java] Saxon-HE 10.6J from Saxonica
     [java] Java version 17.0.1
     [java] Error on line 39471 column 44 of CreateX3dSceneAccessInterfaceJava.xslt:
     [java]   SXXP0003   Error reported by XML parser: The element type "xsl:text" must be terminated by
     [java]   the matching end-tag "</xsl:text>".: The element type "xsl:text" must be terminated by the
     [java]   matching end-tag "</xsl:text>".
     [java] org.xml.sax.SAXParseException; systemId: file:/C:/x3d-code/www.web3d.org/x3d/stylesheets/CreateX3dSceneAccessInterfaceJava.xslt<http://www.web3d.org/x3d/stylesheets/CreateX3dSceneAccessInterfaceJava.xslt>; lineNumber: 39471; columnNumber: 44; The element type "xsl:text" must be terminated by the matching end-tag "</xsl:text>".

BUILD FAILED
C:\x3d-code\www.web3d.org<http://www.web3d.org>\x3d\stylesheets\build.xml:448: Java returned: 2

Total time: 4 seconds

john at DESKTOP-8OPL3IE MINGW64 /c/x3d-code/www.web3d.org/x3d/stylesheets<http://www.web3d.org/x3d/stylesheets>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20220116/ac75fe2a/attachment-0001.html>


More information about the x3d-public mailing list