[x3d-public] quick fix to X3DJSAIL stylesheet??? (will download antcontrib and NetBeans to get proper subversion diff)
John Carlson
yottzumm at gmail.com
Sat Jan 15 16:58:13 PST 2022
The error and fix is pretty obvious:
<xsl:text> String
warningMessage = "</xsl:tesxt>
(see trailing tag...tesxt instead of text)
On Sat, Jan 15, 2022 at 6:26 PM John Carlson <yottzumm at gmail.com> wrote:
> $ ant create.X3DJSAIL
> Buildfile: C:\x3d-code\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\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
> [exec] v16.13.2
> [echo] X3DJSAIL.4.0.full.jar -version
> [java] Error: Unable to access jarfile C:\x3d-code\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\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\x3d\stylesheets\java\examples\flowers4.java
> to delete.
> [echo] copy latest stylesheets:
> [copy] Warning: Could not find file C:\x3d-code\www.web3d.org\x3d\stylesheets\saxon-he-10.6.jar
> to copy.
> [copy] Copying 1 file to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib
> [copy] Copying C:\x3d-code\www.web3d.org\x3d\tools\canonical\dist\lib\X3dC14n.jar
> to C:\x3d-code\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
> \x3d\stylesheets\java\lib\stylesheets
> [copy] Copying C:\x3d-code\www.web3d.org\x3d\stylesheets\X3dExtrusionCrossSectionToSvg.xslt
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets\X3dExtrusionCrossSectionToSvg.xslt
> [copy] Copying 1 file to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets
> [copy] Copying C:\x3d-code\www.web3d.org\x3d\stylesheets\X3dToJava.xslt
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets\X3dToJava.xslt
> [copy] Copying 1 file to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets
> [copy] Copying C:\x3d-code\www.web3d.org\x3d\stylesheets\X3dToNodeJS.xslt
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets\X3dToNodeJS.xslt
> [copy] Copying 1 file to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets
> [copy] Copying C:\x3d-code\www.web3d.org\x3d\stylesheets\X3dToJson.xslt
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets\X3dToJson.xslt
> [copy] Copying 1 file to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets
> [copy] Copying C:\x3d-code\www.web3d.org\x3d\stylesheets\X3dToPython.xslt
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets\X3dToPython.xslt
> [copy] Copying 1 file to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets
> [copy] Copying C:\x3d-code\www.web3d.org\x3d\stylesheets\X3dToVrml97.xslt
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets\X3dToVrml97.xslt
> [copy] Copying 1 file to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets
> [copy] Copying C:\x3d-code\www.web3d.org\x3d\stylesheets\X3dToX3dvClassicVrmlEncoding.xslt
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets\X3dToX3dvClassicVrmlEncoding.xslt
> [copy] Copying 1 file to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets
> [copy] Copying C:\x3d-code\www.web3d.org\x3d\stylesheets\X3dToX3dom.xslt
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets\X3dToX3dom.xslt
> [copy] Copying 1 file to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets
> [copy] Copying C:\x3d-code\www.web3d.org\x3d\stylesheets\X3dToHtml.xslt
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets\X3dToHtml.xslt
> [copy] Copying 1 file to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets
> [copy] Copying C:\x3d-code\www.web3d.org\x3d\stylesheets\X3dToXhtml.xslt
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets\X3dToXhtml.xslt
> [copy] Copying 1 file to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets
> [copy] Copying C:\x3d-code\www.web3d.org\x3d\stylesheets\X3dTidy.xslt
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets\X3dTidy.xslt
> [copy] Copying 1 file to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets
> [copy] Copying C:\x3d-code\www.web3d.org\x3d\stylesheets\X3dModelMetaToMarkdown.xslt
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\stylesheets\X3dModelMetaToMarkdown.xslt
> [copy] Copying 28 files to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\X3dUnifiedObjectModel-3.0.xml
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\X3dUnifiedObjectModel-3.0.xml
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\X3dUnifiedObjectModel-3.1.xml
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\X3dUnifiedObjectModel-3.1.xml
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\X3dUnifiedObjectModel-3.2.xml
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\X3dUnifiedObjectModel-3.2.xml
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\X3dUnifiedObjectModel-3.3.xml
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\X3dUnifiedObjectModel-3.3.xml
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\X3dUnifiedObjectModel-4.0.xml
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\X3dUnifiedObjectModel-4.0.xml
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\X3dUnifiedObjectModel.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\X3dUnifiedObjectModel.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-3.0-Web3dExtensionsAmendment1.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\x3d-3.0-Web3dExtensionsAmendment1.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-3.0-Web3dExtensionsPrivate.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\x3d-3.0-Web3dExtensionsPrivate.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-3.0-Web3dExtensionsPublic.Specification.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\x3d-3.0-Web3dExtensionsPublic.Specification.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-3.0-Web3dExtensionsPublic.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\x3d-3.0-Web3dExtensionsPublic.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-3.0.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\x3d-3.0.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-3.1-Web3dExtensionsPrivate.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\x3d-3.1-Web3dExtensionsPrivate.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-3.1-Web3dExtensionsPublic.Specification.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\x3d-3.1-Web3dExtensionsPublic.Specification.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-3.1-Web3dExtensionsPublic.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\x3d-3.1-Web3dExtensionsPublic.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-3.1.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\x3d-3.1.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-3.2-Web3dExtensionsPrivate.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\x3d-3.2-Web3dExtensionsPrivate.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-3.2-Web3dExtensionsPublic.Specification.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\x3d-3.2-Web3dExtensionsPublic.Specification.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-3.2-Web3dExtensionsPublic.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\x3d-3.2-Web3dExtensionsPublic.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-3.2.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\x3d-3.2.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-3.3-Web3dExtensionsPrivate.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\x3d-3.3-Web3dExtensionsPrivate.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-3.3-Web3dExtensionsPublic.Specification.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\x3d-3.3-Web3dExtensionsPublic.Specification.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-3.3-Web3dExtensionsPublic.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\x3d-3.3-Web3dExtensionsPublic.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-3.3.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\x3d-3.3.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-4.0-Web3dExtensionsPrivate.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\x3d-4.0-Web3dExtensionsPrivate.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-4.0-Web3dExtensionsPublic.Specification.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\x3d-4.0-Web3dExtensionsPublic.Specification.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-4.0-Web3dExtensionsPublic.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\x3d-4.0-Web3dExtensionsPublic.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-4.0.xsd
> to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\lib\specifications\x3d-4.0.xsd
> [copy] Copying C:\x3d-code\www.web3d.org\specifications\x3d-schema-changelog.txt
> to C:\x3d-code\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
> \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
> [xjc] Writing output to C:\x3d-code\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
> \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;
> 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\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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20220115/1c083ebd/attachment-0001.html>
More information about the x3d-public
mailing list