[x3d-public] Before further discussions:

John Carlson yottzumm at gmail.com
Sun Dec 17 13:50:18 PST 2017


 Don, before further discussions, put the following in www.web3d.org/x3d/stylesheets/build.xml:

<property name="java.examples.dir"        value="${java.dir}/examples"/>

   <target name="test-nashorn" description="Test Nashorn output from X3DJSAIL">
        <javac srcdir ="${java.examples.dir}"
                         classpath=""
               destdir="${java.classes.dir}"
               debug="on"
               verbose="${javac.verbose}"
               includeantruntime="false">
        </javac>
        <java classname="HelloWorldProgramOutput" classpath="${java.classes.dir};${java.jars.dir}/${jsai.full.archive.jar.name}" fork="${fork}">
            <arg value="json"/>
            <arg value="nashorn/examples/HelloWorldProgramOutput.json"/>
        </java>
        <java classname="HelloWorldProgramOutput" classpath="${java.classes.dir};${java.jars.dir}/${jsai.full.archive.jar.name}" fork="${fork}">
            <arg value="x3d"/>
            <arg value="nashorn/examples/HelloWorldProgramOutput.x3d"/>
        </java>
	</target>

Run:

$ ant test-nashorn

Then validate the output in nashorn/examples.

Thanks!

John
Sent from Mail for Windows 10

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20171217/945ad626/attachment-0001.html>


More information about the x3d-public mailing list