Changeset 13311


Ignore:
Timestamp:
2006-11-21T17:01:27+13:00 (17 years ago)
Author:
kjdon
Message:

added in a target to copy over the appropriate doc example collections from /home/nzdl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/dist-resources/dist-build.xml

    r13306 r13311  
    1313  <import file="../build.xml"/>
    1414 
     15  <property name="documented.collections.home" value="/home/nzdl/for-distributions/collect"/>
    1516  <!-- ====================== DISTRIBUTION Targets ========================= -->
    1617 
     
    173174    </move>
    174175
     176    <!-- documented collections -->
     177    <antcall target="get-documented-collections"/>
     178
    175179    <!-- clean up -->
    176180    <xslt in="build.xml" out="dist-build.xml" style="dist-resources/convert-build-xml.xsl"/>
    177181    <delete dir="${basedir}/build"/>
     182    <delete dir="${basedir}/lib/jni"/>
    178183    <delete dir="${basedir}/dist-resources"/>
    179184    <delete file="${basedir}/README-CVS.txt"/>
     
    247252  </target>
    248253
    249   </project>
    250  
    251 
     254  <!-- copy the doc eg colls from /home/nzdl - note we don't include the formatting ones -->
     255  <target name="get-documented-collections" depends="init">
     256    <property name="collect.home" value="${basedir}/web/sites/localsite/collect"/>
     257    <copy todir="${collect.home}/MARC-e">
     258      <fileset dir="${documented.collections.home}/MARC-e"/>
     259    </copy>
     260    <copy todir="${collect.home}/cltbib-e">
     261      <fileset dir="${documented.collections.home}/cltbib-e"/>
     262    </copy>
     263    <copy todir="${collect.home}/dls-e">
     264      <fileset dir="${documented.collections.home}/dls-e"/>
     265    </copy>
     266    <copy todir="${collect.home}/dspace-e">
     267      <fileset dir="${documented.collections.home}/dspace-e"/>
     268    </copy>
     269    <copy todir="${collect.home}/gsarch-e">
     270      <fileset dir="${documented.collections.home}/gsarch-e"/>
     271    </copy>
     272    <copy todir="${collect.home}/image-e">
     273      <fileset dir="${documented.collections.home}/isis-e"/>
     274    </copy>
     275    <copy todir="${collect.home}/oai-e">
     276      <fileset dir="${documented.collections.home}/oai-e"/>
     277    </copy>
     278    <copy todir="${collect.home}/pagedimg-e">
     279      <fileset dir="${documented.collections.home}/pagedimg-e"/>
     280    </copy>
     281    <copy todir="${collect.home}/wrdpdf-e">
     282      <fileset dir="${documented.collections.home}/wrdpdf-e"/>
     283    </copy>
     284  </target>
     285
     286</project>
     287 
     288
Note: See TracChangeset for help on using the changeset viewer.