<!-- Running this script seems to require more than the deafult heap size -->
<!-- I've set the ANT_OPTS environment variable to -Xmx256M               -->

<project name="Build the XQTS zip file" default="build">
   
   <property name="version" value="current"/>
   <property name="zipfile" value="../../PublicPagesStagingArea/XQTS_${version}.zip"/>
   <property name="stagingArea" value="../../TestSuiteStagingArea"/>
   <property name="catalog" value="${stagingArea}/XQTSCatalog.xml"/>
   <property name="XQueryXzipfile" value="../../AdditionalFiles/XQueryX.zip"/>
   
   <target name="build">
      
      <!-- Remove the old XQTS zip file, if it exists. -->
      
      <delete file="${zipfile}"/>
      
      <!-- Create an initial XQTS zip file with the contents of our staging area. -->
      
      <zip
         destfile="${zipfile}">
         <fileset dir="${stagingArea}" includes="**"/>
      </zip>
      
   </target>
   
</project>
