Changeset 19900

Show
Ignore:
Timestamp:
24.06.2009 14:24:03 (10 years ago)
Author:
oranfry
Message:

final set of changes to cdrk2 which made it into 2.82cd release

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • release-kits/cdrk2/ant-scripts/build.xml

    r19790 r19900  
    3535    </target> 
    3636 
     37 
    3738    <!-- THE MAIN TARGET --> 
    3839    <target name="cdrk2" depends="init,cdrk2-init"> 
     
    4344        <antcall target="insert-readmes"/> 
    4445        <antcall target="insert-software"/> 
     46        <antcall target="create-autorun"/> 
    4547        <antcall target="create-image"/> 
    4648    </target> 
     
    6971 
    7072    <target name="build-tutorials"> 
     73 
    7174        <svn> 
    7275            <checkout url="${svn.root}/documentation/${branch.path}/tutorials" destPath="documentation/tutorials"/> 
     
    7477            <checkout url="${svn.root}/gsdl/${branch.path}/perllib" destPath="documentation/perllib"/> 
    7578            <checkout url="${svn.root}/gsdl/${branch.path}/macros" destPath="documentation/macros"/> 
     79            <checkout url="${svn.root}/documentation/${branch.path}/tutorial_sample_files" destPath="documentation/tutorial_sample_files"/> 
    7680        </svn> 
    7781 
     
    8387 
    8488        <delete dir="cdrom/Tutorial Exercises"/> 
     89        <mkdir dir="cdrom/Tutorial Exercises/sample_files"/> 
     90 
     91        <!-- tutorial html --> 
    8592        <copy todir="cdrom/Tutorial Exercises/English"><fileset dir="documentation/tutorials/html/en"/></copy> 
    8693        <copy todir="cdrom/Tutorial Exercises/French"><fileset dir="documentation/tutorials/html/fr"/></copy> 
    8794        <copy todir="cdrom/Tutorial Exercises/Spanish"><fileset dir="documentation/tutorials/html/es"/></copy> 
    8895        <copy todir="cdrom/Tutorial Exercises/Russian"><fileset dir="documentation/tutorials/html/ru"/></copy> 
     96 
     97        <!-- sample files --> 
     98        <zip destfile="cdrom/Tutorial Exercises/sample_files/beatles.zip" basedir="documentation/tutorial_sample_files/beatles"/> 
     99        <zip destfile="cdrom/Tutorial Exercises/sample_files/custom.zip" basedir="documentation/tutorial_sample_files/custom"/> 
     100        <zip destfile="cdrom/Tutorial Exercises/sample_files/demo_NewFiles.zip" basedir="documentation/tutorial_sample_files/demo_NewFiles"/> 
     101        <zip destfile="cdrom/Tutorial Exercises/sample_files/dspace.zip" basedir="documentation/tutorial_sample_files/dspace"/> 
     102        <zip destfile="cdrom/Tutorial Exercises/sample_files/images.zip" basedir="documentation/tutorial_sample_files/images"/> 
     103        <zip destfile="cdrom/Tutorial Exercises/sample_files/isis.zip" basedir="documentation/tutorial_sample_files/isis"/> 
     104        <zip destfile="cdrom/Tutorial Exercises/sample_files/marc.zip" basedir="documentation/tutorial_sample_files/marc"/> 
     105        <zip destfile="cdrom/Tutorial Exercises/sample_files/niupepa.zip" basedir="documentation/tutorial_sample_files/niupepa"/> 
     106        <zip destfile="cdrom/Tutorial Exercises/sample_files/oai.zip" basedir="documentation/tutorial_sample_files/oai"/> 
     107        <zip destfile="cdrom/Tutorial Exercises/sample_files/simple_html.zip" basedir="documentation/tutorial_sample_files/simple_html"/> 
     108        <zip destfile="cdrom/Tutorial Exercises/sample_files/tudor.zip" basedir="documentation/tutorial_sample_files/tudor"/> 
     109        <zip destfile="cdrom/Tutorial Exercises/sample_files/Word_and_PDF.zip" basedir="documentation/tutorial_sample_files/Word_and_PDF"/> 
     110 
    89111    </target> 
    90112 
     
    222244    </target> 
    223245 
     246    <target name="create-autorun"> 
     247        <exec executable="cp"> 
     248            <arg value="${cdrk2.home}/resources/AUTORUN.INF"/> 
     249            <arg value="cdrom"/> 
     250        </exec> 
     251    </target> 
     252 
    224253    <target name="create-image"> 
    225254 
     
    244273        </exec> 
    245274 
    246         <!-- 
    247275        <exec executable="/bin/bash" dir="products"> 
    248276            <arg value="-c"/> 
    249277            <arg value="zip Greenstone-${version}-cdrom.zip Greenstone-${version}-cdrom.iso"/> 
    250278        </exec> 
    251         --> 
    252279 
    253280    </target>