[x3d-public] Need help outputting JS from X3DJSAIL model class file. Help!

John Carlson yottzumm at gmail.com
Mon Apr 30 04:35:22 PDT 2018

$ java -cp jars/X3DJSAIL.3.3.full.jar";classes" HelloWorldProgramOutput -tojs -toFile foo.js
parameter: "-tojs" for conversion to X3DJSONLD JavaScript source
parameter: "-toFile" "foo.js" for result file name root foo
[Error] Source model file name is empty, therefore file loading not possible.
Java program "HelloWorldProgramOutput" self-validation test results: success

Used to work as -toJS.

This doesn’t work either:

$ java -cp jars/X3DJSAIL.3.3.full.jar";classes" HelloWorldProgramOutput examples/HelloWorldProgramOutput.x3d -tojs -toFile foo.js
WARNING: "HelloWorldProgramOutput" model invocation is attempting to load file "examples/HelloWorldProgramOutput.x3d" instead of simply validating itself... file loading ignored.
Java program "HelloWorldProgramOutput" self-validation test results: success


Sent from Mail for Windows 10

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180430/6dc5ddf5/attachment.html>

More information about the x3d-public mailing list