Ignore:
Timestamp:
08/27/10 11:42:40 (10 years ago)
Author:
sjm84
Message:

Documentation being retrieved from external sites can now fail without stopping the release kit, the link to the documented examples also needed to be modified

File:
1 edited

Legend:

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

    r22699 r22801  
    4242        <property name="software.archive.windows" value="http://www.greenstone.org/caveat-emptor/cdrom-components-${version}-candidate-${date}-windows.tar.gz"/>
    4343        <property name="software.archive.mac" value="http://www.greenstone.org/caveat-emptor/cdrom-components-${version}-candidate-${date}-mac.tar.gz"/>
    44         <property name="software.archive.documented-examples" value="http://www.greenstone.org/caveat-emptor/Greenstone-documented-examples-${version}-candidate-${date}.tar.gz"/>
     44        <property name="software.archive.documented-examples" value="http://www.greenstone.org/caveat-emptor/Greenstone-documented-examples-${date}.tar.gz"/>
    4545       
    4646        <!-- show the properties we're using -->
     
    231231
    232232        <!-- top off manuals with a few more from the web -->
    233         <get src="http://wiki.greenstone.org/wiki/gsdoc/others/CDS-ISIS_to_DL.pdf" dest="cdrom/Documentation/English/CDS-ISIS_to_DL.pdf"/>
    234         <get src="http://www.greenstone.org/docs/inside_greenstone.pdf" dest="cdrom/Documentation/English/inside_greenstone.pdf"/>
    235 
    236         <get src="http://www.greenstone.org/manuals/gsdl2/ar/pdf/Users_Guide_Arabic.doc" dest="cdrom/Documentation/Arabic/Users_Guide_Arabic.doc"/>
    237         <get src="http://www.greenstone.org/manuals/gsdl2/ar/pdf/Install_ar.pdf" dest="cdrom/Documentation/Arabic/Install_ar.pdf"/>
     233        <antcall target="get-doc"><param name="docsrc" value="http://wiki.greenstone.org/wiki/gsdoc/others/CDS-ISIS_to_DL.pdf"/><param name="docdest" value="cdrom/Documentation/English/CDS-ISIS_to_DL.pdf"/></antcall>
     234        <antcall target="get-doc"><param name="docsrc" value="http://www.greenstone.org/docs/inside_greenstone.pdf"/><param name="docdest" value="cdrom/Documentation/English/inside_greenstone.pdf"/></antcall>
     235        <antcall target="get-doc"><param name="docsrc" value="http://www.greenstone.org/manuals/gsdl2/ar/pdf/Users_Guide_Arabic.doc"/><param name="docdest" value="cdrom/Documentation/Arabic/Users_Guide_Arabic.doc"/></antcall>
     236        <antcall target="get-doc"><param name="docsrc" value="http://www.greenstone.org/manuals/gsdl2/ar/pdf/Install_ar.pdf"/><param name="docdest" value="cdrom/Documentation/Arabic/Install_ar.pdf"/></antcall>
    238237
    239238        <mkdir dir="cdrom/Documentation/Brazilian Portuguese"/>
    240         <get src="http://www.greenstone.org/manuals/gsdl2/pt-br/pdf/Install_pt-br.pdf" dest="cdrom/Documentation/Brazilian Portuguese/Install_pt-br.pdf"/>
     239        <antcall target="get-doc"><param name="docsrc" value="http://www.greenstone.org/manuals/gsdl2/pt-br/pdf/Install_pt-br.pdf"/><param name="docdest" value="cdrom/Documentation/Brazilian Portuguese/Install_pt-br.pdf"/></antcall>
    241240
    242241        <mkdir dir="cdrom/Documentation/Vietnamese"/>
    243         <get src="http://prdownloads.sourceforge.net/greenstone/Install-2.39-vi.pdf" dest="cdrom/Documentation/Vietnamese/Install-2.39-vi.pdf"/>
    244         <get src="http://prdownloads.sourceforge.net/greenstone/User-2.39-vi.pdf" dest="cdrom/Documentation/Vietnamese/User-2.39-vi.pdf"/>
    245         <get src="http://prdownloads.sourceforge.net/greenstone/Paper-2.39-vi.pdf" dest="cdrom/Documentation/Vietnamese/Paper-2.39-vi.pdf"/>
     242        <antcall target="get-doc"><param name="docsrc" value="http://prdownloads.sourceforge.net/greenstone/Install-2.39-vi.pdf"/><param name="docdest" value="cdrom/Documentation/Vietnamese/Install-2.39-vi.pdf"/></antcall> 
     243        <antcall target="get-doc"><param name="docsrc" value="http://prdownloads.sourceforge.net/greenstone/User-2.39-vi.pdf"/><param name="docdest" value="cdrom/Documentation/Vietnamese/User-2.39-vi.pdf"/></antcall>
     244        <antcall target="get-doc"><param name="docsrc" value="http://prdownloads.sourceforge.net/greenstone/Paper-2.39-vi.pdf"/><param name="docdest" value="cdrom/Documentation/Vietnamese/Paper-2.39-vi.pdf"/></antcall>
    246245
    247246        <mkdir dir="cdrom/Documentation/Kazakh"/>
    248         <get src="http://prdownloads.sourceforge.net/greenstone/Install-2.39-kz.pdf" dest="cdrom/Documentation/Kazakh/Install-2.39-kz.pdf"/>
    249         <get src="http://prdownloads.sourceforge.net/greenstone/User-2.39-kz.pdf" dest="cdrom/Documentation/Kazakh/User-2.39-kz.pdf"/>
    250         <get src="http://prdownloads.sourceforge.net/greenstone/Paper-2.39-kz.pdf" dest="cdrom/Documentation/Kazakh/Paper-2.39-kz.pdf"/>
     247        <antcall target="get-doc"><param name="docsrc" value="http://prdownloads.sourceforge.net/greenstone/Install-2.39-kz.pdf"/><param name="docdest" value="cdrom/Documentation/Kazakh/Install-2.39-kz.pdf"/></antcall>
     248        <antcall target="get-doc"><param name="docsrc" value="http://prdownloads.sourceforge.net/greenstone/User-2.39-kz.pdf"/><param name="docdest" value="cdrom/Documentation/Kazakh/User-2.39-kz.pdf"/></antcall>
     249        <antcall target="get-doc"><param name="docsrc" value="http://prdownloads.sourceforge.net/greenstone/Paper-2.39-kz.pdf"/><param name="docdest" value="cdrom/Documentation/Kazakh/Paper-2.39-kz.pdf"/></antcall>
    251250
    252251        <!-- insert the documented examples onto cdrom -->
     
    356355    </target>
    357356
     357    <target name="get-doc">
     358        <try>
     359            <get src="${docsrc}" dest="${docdest}"/>
     360        <catch>
     361        </catch>
     362        </try>
     363    </target>
    358364</project>
Note: See TracChangeset for help on using the changeset viewer.