Buildfile: /Users/johncarlson/Downloads/www.web3d.org/x3d/stylesheets/java/nashorn/build.xml [taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found. test.nashorn: [echo] Compile: [javac] Compiling 2 source files to /Users/johncarlson/Downloads/www.web3d.org/x3d/stylesheets/java/classes [echo] Copy: [copy] Copying 1 file to /Users/johncarlson/Downloads/www.web3d.org/x3d/stylesheets/java/nashorn/examples [copy] Copying /Users/johncarlson/Downloads/www.web3d.org/x3d/stylesheets/java/examples/HelloWorldProgramOutput.x3d to /Users/johncarlson/Downloads/www.web3d.org/x3d/stylesheets/java/nashorn/examples/HelloWorldProgramOutput.x3d [copy] Copying 1 file to /Users/johncarlson/Downloads/www.web3d.org/x3d/stylesheets/java/nashorn/examples [copy] Copying /Users/johncarlson/Downloads/www.web3d.org/x3d/stylesheets/java/examples/HelloWorldProgramOutput.json to /Users/johncarlson/Downloads/www.web3d.org/x3d/stylesheets/java/nashorn/examples/HelloWorldProgramOutput.json [echo] Run: [java] parameter: source file HelloWorldProgramOutput.x3d filesize 21210 bytes, parsed using Document Object Model (DOM) X3DLoader [java] parameter: "-tojs" for conversion to X3DJSONLD JavaScript source [java] parameter: "-toFile" "../nashorn/examples/HelloWorldProgramOutput.Nashorn.js" for result file name root ../nashorn/examples/HelloWorldProgramOutput.Nashorn [java] convert to JS JavaScript: [java] Warning: toFileJavaScript() is overwriting prior file ../nashorn/examples/HelloWorldProgramOutput.Nashorn.js [java] Script DEF=colorTypeConversionScript contains CDATA source-code text, copied as "#sourceText" using "strings" mode [java] Script DEF=MaterialModulatorScript contains CDATA source-code text, copied as "#sourceText" using "strings" mode [java] org.web3d.x3d.sai.X3DException: ScriptException when processing fileName ../nashorn/examples/HelloWorldProgramOutput.Nashorn.js.intermediate.js, unable to save result: javax.script.ScriptException: TypeError: Cannot load script from nashorn/jvm-npm.js in ../nashorn/examples/HelloWorldProgramOutput.Nashorn.js.intermediate.js at line number 1 [java] at org.web3d.x3d.jsail.Core.X3DObject.toFileJavaScript(X3DObject.java:1662) [java] at org.web3d.x3d.jsail.CommandLine.run(CommandLine.java:628) [java] at org.web3d.x3d.jsail.CommandLine.main(CommandLine.java:163) [java] [Error] TODO problem handling local exception within CommandLine, exiting [java] parameter: source file HelloWorldProgramOutput.x3d filesize 21210 bytes, parsed using Document Object Model (DOM) X3DLoader [java] parameter: "-toJSON" for conversion to JSON encoding [java] parameter: "-toFile" "../nashorn/examples/HelloWorldProgramOutput.Java.json" for result file name root ../nashorn/examples/HelloWorldProgramOutput.Java [java] convert to JSON: [java] Warning: toFileStylesheetConversion(X3dToJson.xslt) is overwriting prior file ../nashorn/examples/HelloWorldProgramOutput.Java.json [java] Script DEF=colorTypeConversionScript contains CDATA source-code text, copied as "#sourceText" using "strings" mode [java] Script DEF=MaterialModulatorScript contains CDATA source-code text, copied as "#sourceText" using "strings" mode [java] file conversion successful: HelloWorldProgramOutput.Java.json (40058 bytes) [java] parameter: source file HelloWorldProgramOutput.x3d filesize 21210 bytes, parsed using Document Object Model (DOM) X3DLoader [java] parameter: "-toX3D" for conversion to X3D encoding [java] parameter: "-toFile" "../nashorn/examples/HelloWorldProgramOutput.Java.x3d" for result file name root ../nashorn/examples/HelloWorldProgramOutput.Java [java] convert to X3D: [java] Warning: toFileX3D() is overwriting prior file ../nashorn/examples/HelloWorldProgramOutput.Java.x3d [java] file conversion successful: HelloWorldProgramOutput.Java.x3d (21210 bytes) [echo] =========================================== [echo] HelloWorldProgramOutput.Java.x3d [xmlvalidate] 1 file(s) have been successfully validated. [xmlvalidate] 1 file(s) have been successfully validated. [echo] matches HelloWorldProgramOutput.x3d: true [echo] =========================================== [echo] =========================================== [echo] HelloWorldProgramOutput.Java.json [echo] matches HelloWorldProgramOutput.json: false [echo] =========================================== [echo] script: [exec] ../nashorn/examples/HelloWorldProgramOutput.Nashorn.js:1 TypeError: Cannot load script from nashorn/node/X3Dautoclass.js [echo] =========================================== [echo] HelloWorldProgramOutput.Java.x3d [echo] matches HelloWorldProgramOutput.Nashorn.js.new.x3d: false [echo] =========================================== [echo] =========================================== [echo] HelloWorldProgramOutput.Java.json [echo] matches HelloWorldProgramOutput.Nashorn.js.new.json: false [echo] =========================================== [exec] ../nashorn/examples/Nashorn.js:1 TypeError: Cannot load script from nashorn/node/X3Dautoclass.js [echo] =========================================== [echo] HelloWorldProgramOutput.x3d [echo] matches Nashorn.x3d: false [echo] =========================================== [echo] =========================================== [echo] HelloWorldProgramOutput.x3d [echo] matches Nashorn0.x3d: false [echo] =========================================== [exec] ../nashorn/examples/Json.js:1 TypeError: Cannot load script from nashorn/node/X3Dautoclass.js [echo] =========================================== [echo] HelloWorldProgramOutput.x3d [echo] matches Json.x3d: false [echo] =========================================== [echo] HelloWorldProgramOutput.json [echo] matches Json.json: false BUILD SUCCESSFUL Total time: 17 seconds