Changeset 19001 for release-kits/derk


Ignore:
Timestamp:
2009-04-16T11:11:56+12:00 (12 years ago)
Author:
oranfry
Message:

initial derk logic

Location:
release-kits/derk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • release-kits/derk

    • Property svn:externals
      •  

        old new  
        11core http://svn.greenstone.org/release-kits/shared/core
         2linux http://svn.greenstone.org/release-kits/shared/linux
  • release-kits/derk/ant-scripts/build.xml

    r18999 r19001  
    2020    <!-- IMPORT OTHER ANT SCRIPTS -->
    2121    <import file="../core/ant-scripts/init.xml"/>
    22     <import file="../core/ant-scripts/operations-on-gli.xml"/>
    23     <import file="../greenstone2/ant-scripts/rk2-targets.xml"/>
    2422
    2523    <!-- THE MAIN TARGET -->
    26     <target name="sork2" depends="init">
    27         <antcall target="export-gsdl-gli"><param name="dest" value="distributions/Greenstone-${version}-source"/></antcall>
    28         <antcall target="gsdl-set-version-numbers"><param name="gsdl.basedir" value="${basedir}/distributions/Greenstone-${version}-source"/></antcall>
    29         <antcall target="gli-set-version-numbers"><param name="glibasedir" value="${basedir}/distributions/Greenstone-${version}-source/gli"/></antcall>
    30         <antcall target="insert-winbin"/>
    31         <antcall target="insert-windows-perl"><param name="gsdl.basedir" value="${basedir}/distributions/Greenstone-${version}-source"/></antcall>
    32         <antcall target="tweak-files" />
     24    <target name="derk" depends="init">
     25        <antcall target="export-dec"/>
    3326        <antcall target="create-archives"/>
    3427    </target>
    3528
    36     <target name="tweak-files">
    37         <!--<rsr file="distributions/Greenstone-${version}-source/Install.sh" pattern="^(iscdrom=).*" replacement="$1&quot;no&quot;" />-->
    38         <delete file="distributions/Greenstone-${version}-source/Install.sh" />
    39         <delete file="distributions/Greenstone-${version}-source/bin/linux/mgquery_old" />
    40     </target>
    41 
    42     <target name="insert-winbin">
    43         <delete dir="distributions/Greenstone-${version}-source/bin/windows"/>
     29    <target name="export-dec">
     30        <delete dir="dec"/>
    4431        <svn>
    45             <export srcurl="${svn.root}/other-projects/trunk/winbin/bin" destPath="distributions/Greenstone-${version}-source/bin/windows"/>
     32            <export srcurl="${svn.root}/documented-example-collections" destPath="dec"/>
    4633        </svn>
    47         <get src="http://greenstone.org/release-snapshots/server.exe" dest="distributions/Greenstone-${version}-source/bin/windows/server.exe"/>
    48        
    49         <delete dir="distributions/Greenstone-${version}-source/bin/windows/imagemagick"/>
    50         <delete dir="distributions/Greenstone-${version}-source/bin/windows/ghostscript"/>
    5134    </target>
    5235
    5336    <target name="create-archives">
    5437        <mkdir dir="products"/>
    55         <zip destfile="products/Greenstone-${version}-source.zip" basedir="distributions" includes="Greenstone-${version}-source/**/*"/>
    56         <exec dir="distributions" executable="tar">
    57             <arg line="-czf ../products/Greenstone-${version}-source.tar.gz Greenstone-${version}-source"/>
     38        <zip destfile="products/Greenstone-${version}-documented-examples.zip" basedir="${basedir}" includes="dec/**/*"/>
     39        <exec executable="tar">
     40            <arg line="-czf products/Greenstone-${version}-documented-examples.tar.gz dec"/>
    5841        </exec>
    5942    </target>
Note: See TracChangeset for help on using the changeset viewer.