Skip to content
Snippets Groups Projects
Commit ccd51310 authored by brutzman's avatar brutzman
Browse files

processScenes.turtle, clean.turtle

parent 8f3a63de
No related branches found
No related tags found
No related merge requests found
...@@ -1701,7 +1701,25 @@ ignoreSetupDownloadErrors=true ...@@ -1701,7 +1701,25 @@ ignoreSetupDownloadErrors=true
expand="on" expand="on"
parameterPair1="insertPackagePrefix=false"/> parameterPair1="insertPackagePrefix=false"/>
<!-- expand:on since DTD defaults needed --> <!-- expand:on since DTD defaults needed -->
<echo>HelloWorld.ttl creation with X3dToTurtle.xslt</echo>
<!-- Turtle .ttl -->
<Saxon9 scene="HelloWorld"
stylesheet="${stylesheet.dir}/X3dToTurtle"
extension="ttl"
expand="on"
parameterPair1="defaultModelPrefix="/>
<!-- expand:on since DTD defaults needed -->
<echo message="${arq} --data ${semantics.dir}/ontologies/X3dOntology4.0.ttl --query ${semantics.dir}/queries/X3dHelloWorldQuery_03.rq --graph HelloWorld.ttl"/>
<exec executable="${arq}" dir="." vmlauncher="false">
<arg value="--data"/>
<arg value="${semantics.dir}/ontologies/X3dOntology4.0.ttl"/>
<arg value="--query"/>
<arg value="${semantics.dir}/queries/X3dHelloWorldQuery_03.rq"/>
<arg value="--graph"/>
<arg value="HelloWorld.ttl"/>
<redirector output="HelloWorld.rq.txt" alwayslog="true" append="true"/>
</exec>
<if> <if>
<not> <not>
<equals arg1="${jenkins.prepared}" arg2="true" /> <equals arg1="${jenkins.prepared}" arg2="true" />
...@@ -1715,6 +1733,8 @@ ignoreSetupDownloadErrors=true ...@@ -1715,6 +1733,8 @@ ignoreSetupDownloadErrors=true
<fileset dir="." includes="HelloWorld.json"/> <fileset dir="." includes="HelloWorld.json"/>
<fileset dir="." includes="HelloWorld.java"/> <fileset dir="." includes="HelloWorld.java"/>
<fileset dir="." includes="HelloWorld.py"/> <fileset dir="." includes="HelloWorld.py"/>
<fileset dir="." includes="HelloWorld.ttl"/>
<fileset dir="." includes="HelloWorld.rq.txt"/>
<fileset dir="." includes="HelloWorld.html"/> <fileset dir="." includes="HelloWorld.html"/>
<fileset dir="." includes="HelloWorldX_ITE.html"/> <fileset dir="." includes="HelloWorldX_ITE.html"/>
<fileset dir="." includes="HelloWorldX3dom.xhtml"/> <fileset dir="." includes="HelloWorldX3dom.xhtml"/>
...@@ -1856,6 +1876,24 @@ ignoreSetupDownloadErrors=true ...@@ -1856,6 +1876,24 @@ ignoreSetupDownloadErrors=true
expand="on" expand="on"
parameterPair1="insertPackagePrefix=false"/> parameterPair1="insertPackagePrefix=false"/>
<!-- expand:on since DTD defaults needed --> <!-- expand:on since DTD defaults needed -->
<echo>HelloWorld.ttl creation with X3dToTurtle.xslt</echo>
<!-- Turtle .ttl -->
<Saxon9 scene="newScene"
stylesheet="${stylesheet.dir}/X3dToTurtle"
extension="ttl"
expand="on"
parameterPair1="defaultModelPrefix="/>
<!-- expand:on since DTD defaults needed -->
<echo message="${arq} --data ${semantics.dir}/ontologies/X3dOntology4.0.ttl --query ${semantics.dir}/queries/X3dHelloWorldQuery_03.rq --graph newScene.ttl"/>
<exec executable="${arq}" dir="." vmlauncher="false">
<arg value="--data"/>
<arg value="${semantics.dir}/ontologies/X3dOntology4.0.ttl"/>
<arg value="--query"/>
<arg value="${semantics.dir}/queries/X3dHelloWorldQuery_03.rq"/>
<arg value="--graph"/>
<arg value="newScene.ttl"/>
<redirector output="newScene.rq.txt" alwayslog="true" append="true"/>
</exec>
<if> <if>
<not> <not>
...@@ -1871,6 +1909,8 @@ ignoreSetupDownloadErrors=true ...@@ -1871,6 +1909,8 @@ ignoreSetupDownloadErrors=true
<fileset dir="." includes="newScene.json"/> <fileset dir="." includes="newScene.json"/>
<fileset dir="." includes="newScene.java"/> <fileset dir="." includes="newScene.java"/>
<fileset dir="." includes="newScene.py"/> <fileset dir="." includes="newScene.py"/>
<fileset dir="." includes="newScene.ttl"/>
<fileset dir="." includes="newScene.rq.txt"/>
<fileset dir="." includes="newSceneX_ITE.html"/> <fileset dir="." includes="newSceneX_ITE.html"/>
<fileset dir="." includes="newSceneX3dom.xhtml"/> <fileset dir="." includes="newSceneX3dom.xhtml"/>
<fileset dir="." includes="newSceneCanonical.xml"/> <fileset dir="." includes="newSceneCanonical.xml"/>
...@@ -4131,7 +4171,7 @@ app.replica.args=-mode scene -mipmaps -antialias 8 -anisotropicDegree 16 -verbos ...@@ -4131,7 +4171,7 @@ app.replica.args=-mode scene -mipmaps -antialias 8 -anisotropicDegree 16 -verbos
<echo message="==============================================================="/> <echo message="==============================================================="/>
</target> </target>
<target name="processScenes.turtle" description="generate turtle source, run validation test" depends="clean.RoundTrip"> <target name="processScenes.turtle" description="generate turtle source, run validation test" depends="">
<echo message="Verifying Apache Ant XML Catalog resolver classpath: ${resolver.dir}/resolver.jar (${resolver.jar.length} bytes)"/> <echo message="Verifying Apache Ant XML Catalog resolver classpath: ${resolver.dir}/resolver.jar (${resolver.jar.length} bytes)"/>
<echo message="==================================="/> <echo message="==================================="/>
<for param="file.path.name"> <for param="file.path.name">
...@@ -4183,7 +4223,7 @@ app.replica.args=-mode scene -mipmaps -antialias 8 -anisotropicDegree 16 -verbos ...@@ -4183,7 +4223,7 @@ app.replica.args=-mode scene -mipmaps -antialias 8 -anisotropicDegree 16 -verbos
</java> </java>
<echo message="- - - - - - - - - - -"/> <echo message="- - - - - - - - - - -"/>
--> -->
<echo message="create turtle:"/> <echo message="Create ${name.short}.ttl turtle representation:"/>
<!-- process individual files here. show full path to facilitate user loading, editing of reported files --> <!-- process individual files here. show full path to facilitate user loading, editing of reported files -->
<echo>${archive.path}/${relative.path1}/${relative.path2}/${name.short}.x3d processing with X3dToTurtle stylesheet...</echo> <echo>${archive.path}/${relative.path1}/${relative.path2}/${name.short}.x3d processing with X3dToTurtle stylesheet...</echo>
<!-- Saxon9 is locally defined macro --> <!-- Saxon9 is locally defined macro -->
...@@ -4197,7 +4237,7 @@ app.replica.args=-mode scene -mipmaps -antialias 8 -anisotropicDegree 16 -verbos ...@@ -4197,7 +4237,7 @@ app.replica.args=-mode scene -mipmaps -antialias 8 -anisotropicDegree 16 -verbos
<!-- Default options: <!-- Default options:
parameterPair1="defaultModelPrefix=" parameterPair1="defaultModelPrefix="
--> -->
<echo>${archive.path}/${relative.path1}/${relative.path2}/${name.short}.ttl self-validation test:</echo> <echo>Query ${name.short}.ttl using SPARQL as self-validation test:</echo>
<if> <if>
<!-- https://ant.apache.org/manual/Tasks/conditions.html --> <!-- https://ant.apache.org/manual/Tasks/conditions.html -->
<contains string="${name.short}" substring="{name.short}" /><!-- undefined --> <contains string="${name.short}" substring="{name.short}" /><!-- undefined -->
...@@ -4221,7 +4261,7 @@ app.replica.args=-mode scene -mipmaps -antialias 8 -anisotropicDegree 16 -verbos ...@@ -4221,7 +4261,7 @@ app.replica.args=-mode scene -mipmaps -antialias 8 -anisotropicDegree 16 -verbos
<arg value="${relative.path1}/${relative.path2}/${name.short}.ttl"/> <arg value="${relative.path1}/${relative.path2}/${name.short}.ttl"/>
<redirector output="${relative.path1}/${relative.path2}/${name.short}.rq.txt" alwayslog="true" append="true"/> <redirector output="${relative.path1}/${relative.path2}/${name.short}.rq.txt" alwayslog="true" append="true"/>
</exec> </exec>
<echo message="test.X3dToTurtle.xslt.one conversion of ${name.short}.x3d to ${name.short}.ttl complete."/> <echo message="X3dToTurtle.xslt conversion of ${name.short}.x3d to ${name.short}.ttl complete."/>
</else> </else>
</if> </if>
<echo message="==================================="/> <echo message="==================================="/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment