<div dir="ltr"><div dir="ltr"><div>Let me know what build.xml you want to use X3DJSAIL to validate JSON files with, and I work towards that path.   See carbon copied build.xml below.</div><div><br></div><div>Let me know of your validator of choice for JSON.</div><div><br></div><div>I have currently modified <a href="http://www.web3d.org/x3d/stylesheets/java/examples/build.xml">www.web3d.org/x3d/stylesheets/java/examples/build.xml</a> to validate JSON examples.  I don't know where the JSON archive is, so you'll have to reprogram the "examples" folder.</div><div><br></div><div>Please review json target in that build.xml</div><div><br></div><div>I also got create.X3DJSAIL target working again.</div><div><br></div><div>Thanks!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 15, 2022 at 10:27 PM Brutzman, Donald (Don) (CIV) <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div lang="EN-US"><div><p class="MsoNormal">John, I can replace the [ JSON ]schema in the official repository, but we still have a severe difficulty in that there is no build process to check it against X3D Examples scenes.  As ever, using Java latest and Ant build tasks will be the path to mainstreaming.  We have been blocked by that for several years, and JSON Schema is still in draft status.</p></div></div></div></blockquote><div><br></div><div><?xml version="1.0" encoding="UTF-8"?></div><div><project name="Java JSON Schema validation" default="default" basedir="."></div><div>    <description>Builds, tests, and runs Validate for JSON validation.</description></div><div>    <property name="examples"     value="/x3d-code/<a href="http://www.web3d.org/x3d/content/examples" target="_blank">www.web3d.org/x3d/content/examples</a>"/></div><div>    <property name="classpath"     value=".:/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/java/jars/X3DJSAIL.4.0.full.jar" target="_blank">www.web3d.org/x3d/stylesheets/java/jars/X3DJSAIL.4.0.full.jar</a>"/></div><div><br></div><div><taskdef resource="net/sf/antcontrib/antcontrib.properties"></div><div>  <classpath></div><div>    <pathelement location="C:/apache-ant-1.10.12-bin/apache-ant-1.10.12/lib/ant-contrib-1.0b3.jar"/></div><div>  </classpath></div><div></taskdef></div><div><br></div><div>    <target name="default" description="build and test"></div><div>        <echo message="Build modules:"/></div><div>        <echo message="Compile: with classpath ${classpath}"/></div><div>        <javac includes="Validate.java,X3DJSONLD.java" srcdir="." destdir="." classpath="${classpath}" includeantruntime="false" fork="${fork}"/></div><div>        <echo message="Run:"/></div><div>        <antcall target="run"/></div><div>    </target></div><div>        <target name="run"></div><div>          <foreach target="runone" param="theFile"></div><div>            <fileset dir="${examples}" casesensitive="yes"></div><div>                    <include name="**/*.json"/></div><div>            </fileset></div><div>          </foreach></div><div>        </target></div><div><br></div><div>        <target name="runone"></div><div>                <echo message="Validate ${theFile} with classpath ${classpath}"/></div><div>                <java classname="Validate" classpath="${classpath}"></div><div>                        <arg value="${theFile}"/></div><div>                </java></div><div>        </target></div><div><br></div><div><br></div><div></project></div></div></div></div>