Show
Ignore:
Timestamp:
31.10.2008 15:08:31 (11 years ago)
Author:
oranfry
Message:

started source releases

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • release-kits/mark2/ant-scripts/create-distribution.xml

    r17523 r17652  
    33 
    44    <target name="create-distribution"> 
     5 
    56        <antcall target="export-gsdl-gli" /> 
    67        <antcall target="dist-set-version" /> 
    7         <antcall target="gli-set-version-numbers"> 
    8             <param name="glibasedir" value="${basedir}/distributions/web/gli"/> 
    9         </antcall> 
     8        <antcall target="gli-set-version-numbers"><param name="glibasedir" value="${basedir}/distributions/web/gli"/></antcall> 
     9        <antcall target="drop-in-docs" /> 
     10        <antcall target="tweak-files" /> 
     11        <antcall target="remove-unneeded-files-1" /> 
     12 
     13        <antcall target="copy-web-to-source" /> <!-- from init --> 
     14 
    1015        <antcall target="drop-in-binaries" /> 
    1116        <antcall target="drop-in-demo-collection" /> 
    12         <antcall target="drop-in-docs" /> 
    1317        <antcall target="insert-uninstaller"><param name="script-format" value="sh"/></antcall> <!-- from rk2-targets --> 
    14         <antcall target="insert-export-to-cd-package"/> <!-- from rk2-targets --> 
     18        <antcall target="insert-export-to-cd-package"/>     <!-- from rk2-targets --> 
     19        <antcall target="export-imagemagick-linux-binaries" /> 
    1520        <antcall target="compile-gli" /> 
    16         <antcall target="tweak-files" /> 
     21        <antcall target="remove-unneeded-files-2" /> 
     22 
    1723    </target> 
    1824 
     
    2430            <export srcurl="${svn.root}/gli/${branch.path}" destPath="distributions/web/gli"/> 
    2531        </svn> 
     32        <copy todir="distributions/source"><fileset dir="distributions/web"/></copy> 
    2633    </target> 
    2734 
     
    105112        <rsr file="${basedir}/distributions/web/Support.htm" pattern="^(\s*&lt;input.* name=&quot;gsdl version&quot;.* value=&quot;).*(&quot;.*&gt;)" replacement="$1${version}$2"/> 
    106113 
    107         <echo level="info">Removing signed gatherer</echo> 
    108         <delete file="${basedir}/distributions/web/bin/java/SignedGatherer.jar" /> 
     114    </target> 
    109115 
    110         <echo level="info">Removing some unneeded stuff</echo> 
     116    <target name="remove-unneeded-files-1"> 
    111117        <delete file="${basedir}/distributions/web/gli/.greenstonestore" /> 
    112118        <delete><fileset dir="${basedir}/distributions/web/gli" includes="*.bat"/></delete> 
    113119        <delete><fileset dir="${basedir}/distributions/web" includes="*.bat"/></delete> 
     120        <delete dir="${basedir}/distributions/web/common-src/packages/windows"/> 
    114121    </target> 
    115122 
     123    <target name="remove-unneeded-files-2"> 
     124        <delete file="${basedir}/distributions/web/bin/java/SignedGatherer.jar" /> 
     125    </target> 
     126 
     127 
    116128</project>