CVS WWW/International/multilingualweb/lt/drafts/its20

Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20
In directory gil:/tmp/cvs-serv6645

Modified Files:
	build.xml 
Log Message:
Adding various files for test suite dashboard. Mostly temporary, see http://lists.w3.org/Archives/Public/public-multilingualweb-lt-tests/2012Dec/0190.html 

--- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/build.xml	2012/12/09 18:57:34	1.16
+++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/build.xml	2012/12/26 19:12:33	1.17
@@ -1,6 +1,6 @@
 <!-- Apache Ant script to build ITS20 spec. -->     
 <project name="ITS20" default="main" basedir=".">
-    
+
     <property name="trpubdir" value="TR-version"/>
     <path id="saxon9.classpath">
         <pathelement location="tools/saxon9he.jar"/>
@@ -20,16 +20,16 @@
     <path id="xslthl.classpath">
         <pathelement location="tools/xslthl-2.1.0beta.jar"/>
     </path>
-    
-<!-- Run this before publication or if new people join the working group, put the output into its20.odd -->
-<target name="updateAcks">
-    <java fork="true" classname="net.sf.saxon.Transform">
-        <classpath refid="saxon9.classpath"/>
-        <arg value="-o:temp/its20-new-acks.odd"/>
-        <arg value="its20.odd"/>
-        <arg value="tools/xslt/updateAcks.xsl"/>
-    </java>
-</target>
+
+    <!-- Run this before publication or if new people join the working group, put the output into its20.odd -->
+    <target name="updateAcks">
+        <java fork="true" classname="net.sf.saxon.Transform">
+            <classpath refid="saxon9.classpath"/>
+            <arg value="-o:temp/its20-new-acks.odd"/>
+            <arg value="its20.odd"/>
+            <arg value="tools/xslt/updateAcks.xsl"/>
+        </java>
+    </target>
 
     <target name="validateOdd">
         <java fork="true" classname="com.thaiopensource.relaxng.util.Driver">
@@ -61,7 +61,7 @@
             <arg value="-xsl:tools/xslt/odd2xmlspec.xsl"/>
         </java>
     </target>
-    
+
     <target name="makeXmlspecValid" depends="odd2xmlspec">
         <java fork="true" classname="net.sf.saxon.Transform">
             <classpath refid="saxon9.classpath"/>
@@ -113,7 +113,8 @@
             <arg value="temp/its20-valid-xmlspec.xml"/>
             <arg value="tools/xslt/xmlspec-i18n-itstagset.xsl"/>
             <arg value="toc.level=3"/>
-        </java><!-- 
+        </java>
+        <!-- 
         <java fork="true" classname="net.sf.saxon.Transform">
             <classpath refid="saxon9.classpath"/>
             <arg value="-o:TR-version/temp.html"/>
@@ -159,12 +160,12 @@
         </java>
         <replaceregexp file="temp/its.dtd" match="% n." replace="% its-" flags="g" encoding="utf-8"/>
         <replaceregexp file="temp/its.dtd" match="%n." replace="%its-" flags="g" encoding="utf-8"/>
- <!--        <copy file="temp/its.dtd" tofile="TR-version/its.dtd"/>
+        <!--        <copy file="temp/its.dtd" tofile="TR-version/its.dtd"/>
         <copy file="temp/its.rnc" tofile="TR-version/its.rnc"/>
         <copy file="temp/its.rng" tofile="TR-version/its.rng"/>
         <copy file="temp/its.xsd" tofile="TR-version/its.xsd"/>  -->
     </target>
-    
+
     <!-- Make ready for publication (not needed for editors). Depends on xmlspec2TrHtml. -->
     <target name="copyTr" depends="clean">
         <mkdir dir="temp/tr-dir"/>
@@ -206,34 +207,53 @@
         </zip>
     </target>
 
-<!-- Delete temporary files -->
+    <!-- Delete temporary files -->
     <target name="clean">
         <delete verbose="true" dir="temp/tr-dir"/>
-        <delete verbose="true" >
-            <fileset  dir="temp" includes="*"/>
+        <delete verbose="true">
+            <fileset dir="temp" includes="*"/>
         </delete>
     </target>
-    
+
     <target name="all" depends="xmlspec2Html, xmlspec2TrHtml"/>
-    
+
     <target name="main" depends="xmlspec2Html"/>
-  
-  <taskdef name="jing" classname="com.thaiopensource.relaxng.util.JingTask" classpathref="jing.classpath"/>
-  
-  <target name="validate-examples">
-    <jing rngfile="schemas/its20.nvdl">
-      <fileset dir="examples/xml" includes="**/*.xml"/>
-      <fileset dir="examples/html5" includes="**/*.xml"/>  
-    </jing>
-  </target>
-    
-  <target name="generate-disposition-of-comments">
-      <java fork="true" classname="net.sf.saxon.Transform">
-          <classpath refid="saxon9.classpath"/>
-          <arg value="-o:temp/its20-disposition-of-comments.html"/>
-          <arg value="-u"/>
-          <arg value="https://www.w3.org/International/multilingualweb/lt/track/api/dump?full"/>
-          <arg value="tools/xslt/disco-for-its20.xsl"/>
-      </java>
-  </target>  
+
+    <taskdef name="jing" classname="com.thaiopensource.relaxng.util.JingTask"
+        classpathref="jing.classpath"/>
+
+    <target name="validate-examples">
+        <jing rngfile="schemas/its20.nvdl">
+            <fileset dir="examples/xml" includes="**/*.xml"/>
+            <fileset dir="examples/html5" includes="**/*.xml"/>
+        </jing>
+    </target>
+
+    <target name="generate-disposition-of-comments">
+        <java fork="true" classname="net.sf.saxon.Transform">
+            <classpath refid="saxon9.classpath"/>
+            <arg value="-o:temp/its20-disposition-of-comments.html"/>
+            <arg value="-u"/>
+            <arg value="https://www.w3.org/International/multilingualweb/lt/track/api/dump?full"/>
+            <arg value="tools/xslt/disco-for-its20.xsl"/>
+        </java>
+    </target>
+
+    <target name="testsuite-dashboard">
+        <get src="https://github.com/finnle/ITS-2.0-Testsuite/archive/master.zip"
+            dest="temp/master.zip"/>
+        <unzip src="temp/master.zip" dest="temp"/>
+        <java fork="true" classname="net.sf.saxon.Transform">
+            <classpath refid="saxon9.classpath"/>
+            <arg value="-o:temp/testsuiteMaster.xml"/>
+            <arg value="temp/TestSuiteCommitmentsFromGD.xml"/>
+            <arg value="temp/GD2testsuiteMaster.xsl"/>
+        </java>
+        <java fork="true" classname="net.sf.saxon.Transform">
+            <classpath refid="saxon9.classpath"/>
+            <arg value="-o:temp/testSuiteDashboard.html"/>
+            <arg value="temp/testsuiteMaster.xml"/>
+            <arg value="tools/xslt/testsuiteDashboard.xsl"/>
+        </java>
+    </target>
 </project>

Received on Wednesday, 26 December 2012 19:12:35 UTC