<?xml version="1.0" encoding="UTF-8"?>
<project name="cr-dashboard" default="main" basedir=".">
    <path id="saxon8.classpath">
        <pathelement location="../../saxon8/saxon8.jar"/>
    </path>
    <target name="main" depends="clean,validate,tstamp,build-tables,build-dashboard,build-dashboard-summary"> </target>
    <target name="tstamp">
        <tstamp/>
        <echo>${DSTAMP}</echo>
        <echo>${TSTAMP}</echo>
        <echo>${TODAY}</echo>
    </target>
    <target name="clean"> </target>
    <target name="validate"> </target>
    <target name="build-tables"
        depends="build-participant-table,build-feature-table,build-round1-table,
        build-round2-wsdl11-table,build-round2-wsdl20-table,build-round3-wsdl11-table,
        build-round3-wsdl20-table, build-round4-uddi-interop-table, build-round4-uddi-unittest-table,
        build-round4-negative-test-table, build-round4-media-type-table,
        build-round4-external-policy-attachment-wsdl11-table,
        build-round4-external-policy-attachment-wsdl20-table"> </target>
    <target name="build-dashboard">
        <delete file="dashboard.html"/>
        <xslt style="dashboard.xsl" in="dashboard.xml" out="dashboard.html" destdir=".">
            <param name="DSTAMP" expression="${DSTAMP}"/>
            <param name="TSTAMP" expression="${TSTAMP}"/>
            <param name="TODAY" expression="${TODAY}"/>
        </xslt>
    </target>
  <target name="build-dashboard-summary" depends="tstamp">
        <delete file="dashboard-summary.html"/>
        <xslt style="dashboard-summary.xsl" in="dashboard.xml" out="dashboard-summary.html" destdir=".">
            <param name="DSTAMP" expression="${DSTAMP}"/>
            <param name="TSTAMP" expression="${TSTAMP}"/>
            <param name="TODAY" expression="${TODAY}"/>
        </xslt>
    </target> 
    <target name="build-participant-table">
        <delete file="temp-participants.xml"/>
        <xslt style="participants.xsl" in="dashboard.xml" out="temp-participants.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="participants/Microsoft.xml"/>
        </xslt>
        <copy file="temp-participants.xml" tofile="participants-in.xml" overwrite="true"/>
        <xslt style="participants.xsl" in="participants-in.xml" out="temp-participants.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="participants/IBM.xml"/>
        </xslt>
        <copy file="temp-participants.xml" tofile="participants-in.xml" overwrite="true"/>
        <xslt style="participants.xsl" in="participants-in.xml" out="temp-participants.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="participants/BEA.xml"/>
        </xslt>
        <copy file="temp-participants.xml" tofile="participants-in.xml" overwrite="true"/>
        <xslt style="participants.xsl" in="participants-in.xml" out="temp-participants.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="participants/HP.xml"/>
        </xslt>
        <copy file="temp-participants.xml" tofile="participants-in.xml" overwrite="true"/>
        <xslt style="participants.xsl" in="participants-in.xml" out="temp-participants.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="participants/webMethods.xml"/>
        </xslt>
        <copy file="temp-participants.xml" tofile="participants-in.xml" overwrite="true"/>
        <xslt style="participants.xsl" in="participants-in.xml" out="temp-participants.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="participants/Sun.xml"/>
        </xslt>
        <copy file="temp-participants.xml" tofile="participants-in.xml" overwrite="true"/>
        <xslt style="participants.xsl" in="participants-in.xml" out="temp-participants.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="participants/Layer-7.xml"/>
        </xslt>
        <copy file="temp-participants.xml" tofile="participants-in.xml" overwrite="true"/>
        <xslt style="participants.xsl" in="participants-in.xml" out="temp-participants.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="participants/Oracle.xml"/>
        </xslt>
        <copy file="temp-participants.xml" tofile="participants-in.xml" overwrite="true"/>
        <xslt style="participants.xsl" in="participants-in.xml" out="temp-participants.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="participants/WSO2.xml"/>
        </xslt>
        <copy file="temp-participants.xml" tofile="participants-in.xml" overwrite="true"/>
        <xslt style="participants.xsl" in="participants-in.xml" out="temp-participants.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="participants/WSO2-C.xml"/>
        </xslt>
        <copy file="temp-participants.xml" tofile="participants-in.xml" overwrite="true"/>
        <xslt style="participants.xsl" in="participants-in.xml" out="temp-participants.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="participants/Axway.xml"/>
        </xslt>
        <delete file="participants-in.xml"/>
    </target>
    <target name="build-feature-table">
        <delete file="temp-features.xml"/>
        <xslt style="features.xsl" in="features.xml" out="temp-features.xml" destdir="."/>
    </target>
    <target name="build-round1-table">
        <delete file="temp-round1.xml"/>
        <xslt style="unit-round-step1.xsl" in="dashboard.xml" out="temp-round1.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round1/round1-Axway.xml"/>
        </xslt>
        <copy file="temp-round1.xml" tofile="round1-in.xml" overwrite="true"/>
        <xslt style="unit-round-step1.xsl" in="round1-in.xml" out="temp-round1.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round1/round1-BEA.xml"/>
        </xslt>
        <copy file="temp-round1.xml" tofile="round1-in.xml" overwrite="true"/>
        <xslt style="unit-round-step1.xsl" in="round1-in.xml" out="temp-round1.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round1/round1-IBM.xml"/>
        </xslt>
        <copy file="temp-round1.xml" tofile="round1-in.xml" overwrite="true"/>
        <xslt style="unit-round-step1.xsl" in="round1-in.xml" out="temp-round1.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round1/round1-Layer-7.xml"/>
        </xslt>
        <copy file="temp-round1.xml" tofile="round1-in.xml" overwrite="true"/>
        <xslt style="unit-round-step1.xsl" in="round1-in.xml" out="temp-round1.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round1/round1-Microsoft.xml"/>
        </xslt>
        <copy file="temp-round1.xml" tofile="round1-in.xml" overwrite="true"/>
        <xslt style="unit-round-step1.xsl" in="round1-in.xml" out="temp-round1.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round1/round1-Sun.xml"/>
        </xslt>
        <copy file="temp-round1.xml" tofile="round1-in.xml" overwrite="true"/>
        <xslt style="unit-round-step1.xsl" in="round1-in.xml" out="temp-round1.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round1/round1-WSO2.xml"/>
        </xslt>
        <!-- add more -->
        <copy file="temp-round1.xml" tofile="round1-in.xml" overwrite="true"/>
        <echo message="copied"/>
        <java fork="true" classname="net.sf.saxon.Transform" maxmemory="512m">
            <classpath refid="saxon8.classpath"/>
            <arg value="-o"/>
            <arg value="temp-round1.xml"/>
            <arg value="rounds.xml"/>
            <arg value="unit-round-step2.xsl"/>
            <arg value="ROUND=Round-1"/>
            <arg value="STEP1-FILE=round1-in.xml"/>
        </java>
        <echo message="copied"/>
        <delete file="round1-in.xml"/>
    </target>
    <target name="build-round2-wsdl11-table">
        <delete file="temp-round2-wsdl11.xml"/>
        <xslt style="unit-round-step1.xsl" in="dashboard.xml" out="temp-round2-wsdl11.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round2/WSDL11/round2-WSDL11-Axway.xml"/>
        </xslt>
        <copy file="temp-round2-wsdl11.xml" tofile="round2-wsdl11-in.xml" overwrite="true"/>
        <xslt style="unit-round-step1.xsl" in="round2-wsdl11-in.xml" out="temp-round2-wsdl11.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round2/WSDL11/round2-WSDL11-BEA.xml"/>
        </xslt>
        <copy file="temp-round2-wsdl11.xml" tofile="round2-wsdl11-in.xml" overwrite="true"/>
        <xslt style="unit-round-step1.xsl" in="round2-wsdl11-in.xml" out="temp-round2-wsdl11.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round2/WSDL11/round2-WSDL11-IBM.xml"/>
        </xslt>
        <copy file="temp-round2-wsdl11.xml" tofile="round2-wsdl11-in.xml" overwrite="true"/>
        <xslt style="unit-round-step1.xsl" in="round2-wsdl11-in.xml" out="temp-round2-wsdl11.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round2/WSDL11/round2-WSDL11-Layer-7.xml"/>
        </xslt>
        <copy file="temp-round2-wsdl11.xml" tofile="round2-wsdl11-in.xml" overwrite="true"/>
        <xslt style="unit-round-step1.xsl" in="round2-wsdl11-in.xml" out="temp-round2-wsdl11.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round2/WSDL11/round2-WSDL11-Microsoft.xml"/>
        </xslt>
        <copy file="temp-round2-wsdl11.xml" tofile="round2-wsdl11-in.xml" overwrite="true"/>
        <xslt style="unit-round-step1.xsl" in="round2-wsdl11-in.xml" out="temp-round2-wsdl11.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round2/WSDL11/round2-WSDL11-Sun.xml"/>
        </xslt>
        <copy file="temp-round2-wsdl11.xml" tofile="round2-wsdl11-in.xml" overwrite="true"/>
        <xslt style="unit-round-step1.xsl" in="round2-wsdl11-in.xml" out="temp-round2-wsdl11.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round2/WSDL11/round2-WSDL11-WSO2.xml"/>
        </xslt>

        <!-- add more -->
        <copy file="temp-round2-wsdl11.xml" tofile="round2-wsdl11-in.xml" overwrite="true"/>
        <echo message="copied"/>
        <java fork="true" classname="net.sf.saxon.Transform" maxmemory="512m">
            <classpath refid="saxon8.classpath"/>
            <arg value="-o"/>
            <arg value="temp-round2-wsdl11.xml"/>
            <arg value="rounds.xml"/>
            <arg value="unit-round-step2.xsl"/>
            <arg value="ROUND=Round-2-WSDL11"/>
            <arg value="STEP1-FILE=round2-wsdl11-in.xml"/>
        </java>
        <echo message="copied"/>
        <delete file="round2-wsdl11-in.xml"/>
    </target>

    <target name="build-round2-wsdl20-table">
        <delete file="temp-round2-wsdl20.xml"/>
        <xslt style="unit-round-step1.xsl" in="dashboard.xml" out="temp-round2-wsdl20.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round2/WSDL20/round2-WSDL20-IBM.xml"/>
        </xslt>
        <copy file="temp-round2-wsdl20.xml" tofile="round2-wsdl20-in.xml" overwrite="true"/>
        <xslt style="unit-round-step1.xsl" in="round2-wsdl20-in.xml" out="temp-round2-wsdl20.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round2/WSDL20/round2-WSDL20-WSO2.xml"/>
        </xslt>
        <copy file="temp-round2-wsdl20.xml" tofile="round2-wsdl20-in.xml" overwrite="true"/>
        <xslt style="unit-round-step1.xsl" in="round2-wsdl20-in.xml" out="temp-round2-wsdl20.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round2/WSDL20/round2-WSDL20-WSO2-C.xml"/>
        </xslt>        
        <!-- add more -->
        <copy file="temp-round2-wsdl20.xml" tofile="round2-wsdl20-in.xml" overwrite="true"/>
        <echo message="copied"/>
        <java fork="true" classname="net.sf.saxon.Transform" maxmemory="512m">
            <classpath refid="saxon8.classpath"/>
            <arg value="-o"/>
            <arg value="temp-round2-wsdl20.xml"/>
            <arg value="rounds.xml"/>
            <arg value="unit-round-step2.xsl"/>
            <arg value="ROUND=Round-2-WSDL20"/>
            <arg value="STEP1-FILE=round2-wsdl20-in.xml"/>
        </java>
        <echo message="copied"/>
        <delete file="round2-wsdl20-in.xml"/>
    </target>
    
    <target name="build-round3-wsdl11-table">
        <delete file="temp-round3-wsdl11.xml"/>
        <xslt style="interop-round-step1.xsl" in="dashboard.xml" out="temp-round3-wsdl11.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="round3/WSDL11/round3-WSDL11-Axway.xml"/>
        </xslt>
        <copy file="temp-round3-wsdl11.xml" tofile="round3-wsdl11-in.xml" overwrite="true"/>
        <xslt style="interop-round-step1.xsl" in="round3-wsdl11-in.xml" out="temp-round3-wsdl11.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="round3/WSDL11/round3-WSDL11-BEA.xml"/>
        </xslt>
        <copy file="temp-round3-wsdl11.xml" tofile="round3-wsdl11-in.xml" overwrite="true"/>
        <xslt style="interop-round-step1.xsl" in="round3-wsdl11-in.xml" out="temp-round3-wsdl11.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="round3/WSDL11/round3-WSDL11-IBM.xml"/>
        </xslt>
        <copy file="temp-round3-wsdl11.xml" tofile="round3-wsdl11-in.xml" overwrite="true"/>
        <xslt style="interop-round-step1.xsl" in="round3-wsdl11-in.xml" out="temp-round3-wsdl11.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="round3/WSDL11/round3-WSDL11-Layer-7.xml"/>
        </xslt>
        <copy file="temp-round3-wsdl11.xml" tofile="round3-wsdl11-in.xml" overwrite="true"/>
        <xslt style="interop-round-step1.xsl" in="round3-wsdl11-in.xml" out="temp-round3-wsdl11.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="round3/WSDL11/round3-WSDL11-Microsoft.xml"/>
        </xslt>
        <copy file="temp-round3-wsdl11.xml" tofile="round3-wsdl11-in.xml" overwrite="true"/>
        <xslt style="interop-round-step1.xsl" in="round3-wsdl11-in.xml" out="temp-round3-wsdl11.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="round3/WSDL11/round3-WSDL11-Oracle.xml"/>
        </xslt>
        <copy file="temp-round3-wsdl11.xml" tofile="round3-wsdl11-in.xml" overwrite="true"/>
        <xslt style="interop-round-step1.xsl" in="round3-wsdl11-in.xml" out="temp-round3-wsdl11.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="round3/WSDL11/round3-WSDL11-Sun.xml"/>
        </xslt>
        <copy file="temp-round3-wsdl11.xml" tofile="round3-wsdl11-in.xml" overwrite="true"/>
        <xslt style="interop-round-step1.xsl" in="round3-wsdl11-in.xml" out="temp-round3-wsdl11.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="round3/WSDL11/round3-WSDL11-WSO2.xml"/>
        </xslt>

        <copy file="temp-round3-wsdl11.xml" tofile="round3-wsdl11-in.xml" overwrite="true"/>
        <!-- add more -->
        <copy file="temp-round3-wsdl11.xml" tofile="round3-wsdl11-in.xml" overwrite="true"/>
        <echo message="copied"/>
        <java fork="true" classname="net.sf.saxon.Transform" maxmemory="512m">
            <classpath refid="saxon8.classpath"/>
            <arg value="-o"/>
            <arg value="temp-round3-wsdl11.xml"/>
            <arg value="rounds.xml"/>
            <arg value="interop-round-step2.xsl"/>
            <arg value="ROUND=Round-3-WSDL11"/>
            <arg value="STEP1-FILE=round3-wsdl11-in.xml"/>
        </java>
        <echo message="copied"/>
        <delete file="round3-wsdl11-in.xml"/>
    </target>
    <target name="build-round3-wsdl20-table">
        <delete file="temp-round3-wsdl20.xml"/>
        <xslt style="interop-round-step1.xsl" in="dashboard.xml" out="temp-round3-wsdl20.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="round3/WSDL20/round3-WSDL20-IBM.xml"/>
        </xslt>
        <copy file="temp-round3-wsdl20.xml" tofile="round3-wsdl20-in.xml" overwrite="true"/>
        <xslt style="interop-round-step1.xsl" in="round3-wsdl20-in.xml" out="temp-round3-wsdl20.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="round3/WSDL20/round3-WSDL20-WSO2.xml"/>
        </xslt>
        <copy file="temp-round3-wsdl20.xml" tofile="round3-wsdl20-in.xml" overwrite="true"/>
        
        <xslt style="interop-round-step1.xsl" in="round3-wsdl20-in.xml" out="temp-round3-wsdl20.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="round3/WSDL20/round3-WSDL20-WSO2-C.xml"/>
        </xslt>
        <copy file="temp-round3-wsdl20.xml" tofile="round3-wsdl20-in.xml" overwrite="true"/>
        <!-- add more -->
        <copy file="temp-round3-wsdl20.xml" tofile="round3-wsdl20-in.xml" overwrite="true"/>
        <echo message="copied"/>
        <java fork="true" classname="net.sf.saxon.Transform" maxmemory="512m">
            <classpath refid="saxon8.classpath"/>
            <arg value="-o"/>
            <arg value="temp-round3-wsdl20.xml"/>
            <arg value="rounds.xml"/>
            <arg value="interop-round-step2.xsl"/>
            <arg value="ROUND=Round-3-WSDL20"/>
            <arg value="STEP1-FILE=round3-wsdl20-in.xml"/>
        </java>
        <echo message="copied"/>
        <delete file="round3-wsdl20-in.xml"/>
    </target>
    <target name="build-round4-uddi-interop-table">
        <delete file="temp-round4-uddi-interop.xml"/>
        <xslt style="interop-round-step1.xsl" in="dashboard.xml" out="temp-round4-uddi-interop.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="round4/UDDI/round4-UDDI-HP.xml"/>
        </xslt>
        <copy file="temp-round4-uddi-interop.xml" tofile="round4-uddi-interop-in.xml" overwrite="true"/>
        <xslt style="interop-round-step1.xsl" in="round4-uddi-interop-in.xml" out="temp-round4-uddi-interop.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="round4/UDDI/round4-UDDI-Layer-7.xml"/>
        </xslt>
        <copy file="temp-round4-uddi-interop.xml" tofile="round4-uddi-interop-in.xml" overwrite="true"/>
        <xslt style="interop-round-step1.xsl" in="round4-uddi-interop-in.xml" out="temp-round4-uddi-interop.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="round4/UDDI/round4-UDDI-webMethods.xml"/>
        </xslt>
        <copy file="temp-round4-uddi-interop.xml" tofile="round4-uddi-interop-in.xml" overwrite="true"/>
        <!-- add more -->
        <copy file="temp-round4-uddi-interop.xml" tofile="round4-uddi-interop-in.xml" overwrite="true"/>
        <echo message="copied"/>
        <java fork="true" classname="net.sf.saxon.Transform" maxmemory="512m">
            <classpath refid="saxon8.classpath"/>
            <arg value="-o"/>
            <arg value="temp-round4-uddi-interop.xml"/>
            <arg value="rounds.xml"/>
            <arg value="interop-round-step2.xsl"/>
            <arg value="ROUND=Round-4-UDDI-Attachment-Interop"/>
            <arg value="STEP1-FILE=round4-uddi-interop-in.xml"/>
        </java>
        <echo message="copied"/>
        <delete file="round4-uddi-interop-in.xml"/>
    </target>
    
    <target name="build-round4-uddi-unittest-table">
        <delete file="temp-round4-uddi-unittest.xml"/>
        <xslt style="unit-round-step1.xsl" in="dashboard.xml" out="temp-round4-uddi-unittest.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round4/UDDI/round4-UDDI-Layer-7.xml"/>
        </xslt>
        <copy file="temp-round4-uddi-unittest.xml" tofile="round4-uddi-unittest-in.xml" overwrite="true"/>
        <xslt style="unit-round-step1.xsl" in="round4-uddi-unittest-in.xml" out="temp-round4-uddi-unittest.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round4/UDDI/round4-UDDI-webMethods.xml"/>
        </xslt>        
        <!-- add more -->
        <copy file="temp-round4-uddi-unittest.xml" tofile="round4-uddi-unittest-in.xml" overwrite="true"/>
        <echo message="copied"/>
        <java fork="true" classname="net.sf.saxon.Transform" maxmemory="512m">
            <classpath refid="saxon8.classpath"/>
            <arg value="-o"/>
            <arg value="temp-round4-uddi-unittest.xml"/>
            <arg value="rounds.xml"/>
            <arg value="unit-round-step2.xsl"/>
            <arg value="ROUND=Round-4-UDDI-Attachment-Unittest"/>
            <arg value="STEP1-FILE=round4-uddi-unittest-in.xml"/>
        </java>
        <echo message="copied"/>
        <delete file="round4-uddi-unittest-in.xml"/>
    </target>
    
    <target name="build-round4-negative-test-table">
        <delete file="temp-round4-negative-test.xml"/>
        <xslt style="unit-round-step1.xsl" in="dashboard.xml" out="temp-round4-negative-test.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round4/negative-test/round4-Negative-Test-BEA.xml"/>
        </xslt>
        <copy file="temp-round4-negative-test.xml" tofile="round4-negative-test-in.xml" overwrite="true"/>
        <xslt style="unit-round-step1.xsl" in="round4-negative-test-in.xml" out="temp-round4-negative-test.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round4/negative-test/round4-Negative-Test-IBM.xml"/>
        </xslt>
        <copy file="temp-round4-negative-test.xml" tofile="round4-negative-test-in.xml" overwrite="true"/>
        <xslt style="unit-round-step1.xsl" in="round4-negative-test-in.xml" out="temp-round4-negative-test.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round4/negative-test/round4-Negative-Test-Layer-7.xml"/>
        </xslt>
        <copy file="temp-round4-negative-test.xml" tofile="round4-negative-test-in.xml" overwrite="true"/>
        <xslt style="unit-round-step1.xsl" in="round4-negative-test-in.xml" out="temp-round4-negative-test.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round4/negative-test/round4-Negative-Test-Microsoft.xml"/>
        </xslt>
        <copy file="temp-round4-negative-test.xml" tofile="round4-negative-test-in.xml" overwrite="true"/>
        <xslt style="unit-round-step1.xsl" in="round4-negative-test-in.xml" out="temp-round4-negative-test.xml" destdir=".">
            <param name="PARTICIPANT-FILE" expression="round4/negative-test/round4-Negative-Test-Sun.xml"/>
        </xslt>
        <!-- add more -->
        <copy file="temp-round4-negative-test.xml" tofile="round4-negative-test-in.xml" overwrite="true"/>
        <echo message="copied"/>
        <java fork="true" classname="net.sf.saxon.Transform" maxmemory="512m">
            <classpath refid="saxon8.classpath"/>
            <arg value="-o"/>
            <arg value="temp-round4-negative-test.xml"/>
            <arg value="rounds.xml"/>
            <arg value="unit-round-step2.xsl"/>
            <arg value="ROUND=Round-4-Negative-Test"/>
            <arg value="STEP1-FILE=round4-negative-test-in.xml"/>
        </java>
        <echo message="copied"/>
        <delete file="round4-negative-test-in.xml"/>
    </target>
    
    
    <target name="build-round4-media-type-table">
        <delete file="temp-round4-media-type.xml"/>
        <xslt style="interop-round-step1.xsl" in="dashboard.xml" out="temp-round4-media-type.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="round4/mediatype/round4-Media-Type-IBM.xml"/>
        </xslt>
        <copy file="temp-round4-media-type.xml" tofile="round4-media-type-in.xml" overwrite="true"/>
        <xslt style="interop-round-step1.xsl" in="round4-media-type-in.xml" out="temp-round4-media-type.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="round4/mediatype/round4-Media-Type-Layer-7.xml"/>
        </xslt>
        <copy file="temp-round4-media-type.xml" tofile="round4-media-type-in.xml" overwrite="true"/>
        <xslt style="interop-round-step1.xsl" in="round4-media-type-in.xml" out="temp-round4-media-type.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="round4/mediatype/round4-Media-Type-Microsoft.xml"/>
        </xslt>
        <copy file="temp-round4-media-type.xml" tofile="round4-media-type-in.xml" overwrite="true"/>        
        <xslt style="interop-round-step1.xsl" in="round4-media-type-in.xml" out="temp-round4-media-type.xml"
            destdir=".">
            <param name="PARTICIPANT-FILE" expression="round4/mediatype/round4-Media-Type-Sun.xml"/>
        </xslt>

        <copy file="temp-round4-media-type.xml" tofile="round4-media-type-in.xml" overwrite="true"/>
        <!-- add more -->
        <copy file="temp-round4-media-type.xml" tofile="round4-media-type-in.xml" overwrite="true"/>
        <echo message="copied"/>
        <java fork="true" classname="net.sf.saxon.Transform" maxmemory="512m">
            <classpath refid="saxon8.classpath"/>
            <arg value="-o"/>
            <arg value="temp-round4-media-type.xml"/>
            <arg value="rounds.xml"/>
            <arg value="interop-round-step2.xsl"/>
            <arg value="ROUND=Round-4-Media-Type"/>
            <arg value="STEP1-FILE=round4-media-type-in.xml"/>
        </java>
        <echo message="copied"/>
        <delete file="round4-media-type-in.xml"/>
    </target>
    
    <target name="build-round4-external-policy-attachment-wsdl11-table">
        <delete file="temp-round4-external-attachment-wsdl11.xml"/>
        <xslt style="unit-round-step1.xsl" in="dashboard.xml" out="temp-round4-external-attachment-wsdl11.xml" destdir=".">
            <param name="PARTICIPANT-FILE" 
            expression="round4/external-policy-attachment/WSDL11/round4-External-Policy-Attachment-WSDL11-IBM.xml"/>
        </xslt>
        <copy file="temp-round4-external-attachment-wsdl11.xml" tofile="round4-external-attachment-wsdl11-in.xml" overwrite="true"/>
        <xslt style="unit-round-step1.xsl" in="round4-external-attachment-wsdl11-in.xml" out="temp-round4-external-attachment-wsdl11.xml" destdir=".">
            <param name="PARTICIPANT-FILE" 
            expression="round4/external-policy-attachment/WSDL11/round4-External-Policy-Attachment-WSDL11-Oracle.xml"/>
        </xslt>       
        <!-- add more -->
        <copy file="temp-round4-external-attachment-wsdl11.xml" tofile="round4-external-attachment-wsdl11-in.xml" overwrite="true"/>
        <echo message="copied"/>
        <java fork="true" classname="net.sf.saxon.Transform" maxmemory="512m">
            <classpath refid="saxon8.classpath"/>
            <arg value="-o"/>
            <arg value="temp-round4-external-attachment-wsdl11.xml"/>
            <arg value="rounds.xml"/>
            <arg value="unit-round-step2.xsl"/>
            <arg value="ROUND=Round-4-External-Policy-Attachment-WSDL11"/>
            <arg value="STEP1-FILE=round4-external-attachment-wsdl11-in.xml"/>
        </java>
        <echo message="copied"/>
        <delete file="round4-external-attachment-wsdl11-in.xml"/>
    </target>
    
    <target name="build-round4-external-policy-attachment-wsdl20-table">
        <delete file="temp-round4-external-attachment-wsdl20.xml"/>
        <xslt style="unit-round-step1.xsl" in="dashboard.xml" out="temp-round4-external-attachment-wsdl20.xml" destdir=".">
            <param name="PARTICIPANT-FILE" 
                expression="round4/external-policy-attachment/WSDL20/round4-External-Policy-Attachment-WSDL20-IBM.xml"/>
        </xslt>
        <copy file="temp-round4-external-attachment-wsdl20.xml" tofile="round4-external-attachment-wsdl20-in.xml" overwrite="true"/>
        <xslt style="unit-round-step1.xsl" in="round4-external-attachment-wsdl20-in.xml" out="temp-round4-external-attachment-wsdl20.xml" destdir=".">
            <param name="PARTICIPANT-FILE" 
                expression="round4/external-policy-attachment/WSDL20/round4-External-Policy-Attachment-WSDL20-WSO2.xml"/>
        </xslt>        
        <!-- add more -->
        <copy file="temp-round4-external-attachment-wsdl20.xml" tofile="round4-external-attachment-wsdl20-in.xml" overwrite="true"/>
        <echo message="copied"/>
        <java fork="true" classname="net.sf.saxon.Transform" maxmemory="512m">
            <classpath refid="saxon8.classpath"/>
            <arg value="-o"/>
            <arg value="temp-round4-external-attachment-wsdl20.xml"/>
            <arg value="rounds.xml"/>
            <arg value="unit-round-step2.xsl"/>
            <arg value="ROUND=Round-4-External-Policy-Attachment-WSDL20"/>
            <arg value="STEP1-FILE=round4-external-attachment-wsdl20-in.xml"/>
        </java>
        <echo message="copied"/>
        <delete file="round4-external-attachment-wsdl20-in.xml"/>
    </target>        
</project>
