greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 17956

Show
Ignore:
Timestamp:
2008-11-27 17:49:28 (1 month ago)
Author:
oranfry
Message:

dont try to create the source distibution anymore as that is done by sork

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • release-kits/lirk2/ant-scripts/create-components.xml

    r17811 r17956  
    1717                <antcall target="prepare-sourcecode-component" /> 
    1818 
    19                 <antcall target="prepare-source-release" /> 
    2019        </target> 
    2120 
     
    2423                <antcall target="compress-imagemagick-component" /> 
    2524 
    26                 <!--<antcall target="compress-sourcecode-component" />--> 
    27  
    28                 <antcall target="compress-source-release" /> 
     25                <antcall target="compress-zipped-binary-release" /> <!-- from init --> 
    2926        </target> 
    3027 
     
    7471                </copy> 
    7572                                 
    76                 <zip destfile="components/Greenstone-${version}-linux-sourcecode.zip"  basedir="components/tmp/sourcecode" compress="true"/> 
     73                <mkdir dir="products"/> 
     74                <tar destfile="products/Greenstone-${version}-${os.suffix}-sourcecode-component.tar.gz" basedir="components/tmp/sourcecode" compress="true"/> 
     75 
    7776        </target> 
    7877                 
     
    10099        </target> 
    101100 
    102         <target name="compress-source-release"> 
    103                 <sevenzip task="encode" input="components/source-release.comp" output="components/source-release.lzma" dictionnary="26"/> 
    104         </target> 
    105  
    106  
    107101</project> 
  • release-kits/lirk2/ant-scripts/create-distribution.xml

    r17898 r17956  
    1111                <antcall target="insert-uninstaller"><param name="script-format" value="sh"/></antcall> <!-- from rk2-targets --> 
    1212                <antcall target="drop-in-demo-collection" /> 
    13                 <antcall target="insert-export-to-cd-package"/>        <!-- from rk2-targets --> 
     13                <antcall target="insert-export-to-cd-package"><param name="gsdl.home" value="distributions/web"/><!-- from rk2-targets --> 
    1414                <antcall target="remove-unneeded-files-1" /> 
    15  
    16                 <antcall target="copy-web-to-source" /> <!-- from init --> 
    1715 
    1816                <antcall target="drop-in-binaries" /> 
     
    5351                <rsr file="${basedir}/distributions/web/READMEen.txt" pattern="^(Date\s*)(.*)" replacement="$1${month.default} ${current.year}" /> 
    5452                <rsr file="${basedir}/distributions/web/READMEen.txt" pattern="^(Version\s*)(.*)" replacement="$1${version}" /> 
    55  
    56                 <!-- Support.htm --> 
    57                 <rsr file="${basedir}/distributions/web/Support.htm" pattern="^(\s*Greenstone Digital Library version: ).*(&lt;br&gt;.*)" replacement="$1${version}$2"/> 
    58                 <rsr file="${basedir}/distributions/web/Support.htm" pattern="^(\s*&lt;input.* name=&quot;gsdl version&quot;.* value=&quot;).*(&quot;.*&gt;)" replacement="$1${version}$2"/> 
    5953 
    6054        </target> 
  • release-kits/lirk3/ant-scripts/create-components.xml

    r17898 r17956  
    1818 
    1919                <antcall target="prepare-sourcecode-component" /> 
    20  
    21                 <antcall target="prepare-source-release" /> 
    2220        </target> 
    2321 
     
    2826                <antcall target="compress-imagemagick-component" /> 
    2927 
    30                 <!--<antcall target="compress-sourcecode-component" />--> 
     28                <antcall target="compress-zipped-binary-release" /> <!-- from init --> 
    3129 
    32                 <antcall target="compress-source-release" /> 
    3330        </target> 
    3431 
     
    8582                                </fileset> 
    8683                </copy> 
    87                                  
    88                 <zip destfile="components/Greenstone-${version}-linux-sourcecode.zip"  basedir="components/tmp/sourcecode" compress="true"/> 
     84 
     85                <mkdir dir="products"/> 
     86                <tar destfile="products/Greenstone-${version}-${os.suffix}-sourcecode-component.tar.gz" basedir="components/tmp/sourcecode" compress="true"/> 
     87 
    8988        </target> 
    9089                 
     
    150149        </target> 
    151150 
    152         <target name="compress-source-release"> 
    153                 <sevenzip task="encode" input="components/source-release.comp" output="components/source-release.lzma" dictionnary="26"/> 
    154         </target> 
    155  
    156151 
    157152</project> 
  • release-kits/lirk3/ant-scripts/create-distribution.xml

    r17898 r17956  
    1111                <antcall target="insert-uninstaller"><param name="script-format" value="sh"/></antcall> <!-- from rk3-targets --> 
    1212 
    13                 <antcall target="copy-web-to-source" /> <!-- from init --> 
    1413 
    1514                <ant antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" dir="distributions/web" target="create-distribution-1" inheritAll="false"> 
  • release-kits/mark2/ant-scripts/create-components.xml

    r17814 r17956  
    1818                <antcall target="prepare-sourcecode-component" /> 
    1919 
    20                 <antcall target="prepare-source-release" /> 
    2120        </target> 
    2221         
     
    2625                <antcall target="compress-ghostscript-component" /> 
    2726 
    28                 <!--<antcall target="compress-sourcecode-component" />--> 
    29  
    30                 <antcall target="compress-source-release" /> 
     27                <antcall target="compress-zipped-binary-release" /> <!-- from init --> 
    3128        </target> 
    3229 
     
    8784                </copy> 
    8885                                 
    89                 <zip destfile="components/sourcecode.comp" basedir="components/tmp/sourcecode" compress="false" /> 
    90                 <zip destfile="components/Greenstone-${version}-MacOS-${processor}-sourcecode.zip" basedir="components/tmp/sourcecode" compress="true"/> 
     86                <mkdir dir="products"/> 
     87                <tar destfile="products/Greenstone-${version}-${os.suffix}-sourcecode-component.tar.gz" basedir="components/tmp/sourcecode" compress="true"/> 
    9188        </target> 
    9289 
     
    133130        </target> 
    134131 
    135         <target name="compress-source-release"> 
    136                 <sevenzip task="encode" input="components/source-release.comp" output="components/source-release.lzma" dictionnary="26"/> 
    137         </target> 
    138  
    139  
    140132</project> 
  • release-kits/mark2/ant-scripts/create-distribution.xml

    r17898 r17956  
    1111                <antcall target="insert-uninstaller"><param name="script-format" value="sh"/></antcall> <!-- from rk2-targets --> 
    1212                <antcall target="remove-unneeded-files-1" /> 
    13  
    14                 <antcall target="copy-web-to-source" /> <!-- from init --> 
    1513 
    1614                <antcall target="drop-in-binaries" /> 
     
    107105                <rsr file="${basedir}/distributions/web/READMEen.txt" pattern="^(Version\s*)(.*)" replacement="$1${version}" /> 
    108106 
    109                 <!-- Support.htm --> 
    110                 <rsr file="${basedir}/distributions/web/Support.htm" pattern="^(\s*Greenstone Digital Library version: ).*(&lt;br&gt;.*)" replacement="$1${version}$2"/> 
    111                 <rsr file="${basedir}/distributions/web/Support.htm" pattern="^(\s*&lt;input.* name=&quot;gsdl version&quot;.* value=&quot;).*(&quot;.*&gt;)" replacement="$1${version}$2"/> 
    112  
    113107        </target> 
    114108 
  • release-kits/mark3/ant-scripts/create-components.xml

    r17898 r17956  
    2020                <antcall target="prepare-sourcecode-component" /> 
    2121 
    22                 <antcall target="prepare-source-release" /> 
    2322        </target> 
    2423 
     
    3029                <antcall target="compress-ghostscript-component" /> 
    3130 
    32                 <!--<antcall target="compress-sourcecode-component" />--> 
     31                <antcall target="compress-zipped-binary-release" /> <!-- from init --> 
    3332 
    34                 <antcall target="compress-source-release" /> 
    3533        </target> 
    3634 
     
    9391                </copy> 
    9492                                 
    95                 <zip destfile="components/sourcecode.comp" basedir="components/tmp/sourcecode" compress="false" /> 
    96                 <zip destfile="components/Greenstone-${version}-MacOS-${processor}-sourcecode.zip" basedir="components/tmp/sourcecode" compress="true"/> 
     93                <mkdir dir="products"/> 
     94                <tar destfile="products/Greenstone-${version}-${os.suffix}-sourcecode-component.tar.gz" basedir="components/tmp/sourcecode" compress="true"/> 
    9795        </target> 
    9896                 
     
    177175        </target> 
    178176 
    179         <target name="compress-source-release"> 
    180                 <sevenzip task="encode" input="components/source-release.comp" output="components/source-release.lzma" dictionnary="26"/> 
    181         </target> 
    182  
    183177</project> 
  • release-kits/mark3/ant-scripts/create-distribution.xml

    r17898 r17956  
    1010                <antcall target="insert-user-manual"/> 
    1111                <antcall target="insert-uninstaller"><param name="script-format" value="sh"/></antcall> <!-- from rk3-targets --> 
    12  
    13                 <antcall target="copy-web-to-source" /> <!-- from init --> 
    1412 
    1513                <ant target="create-distribution-1" antfile="${mark3.home}/ant-scripts/operations-on-gs3home.xml" dir="distributions/web" inheritAll="false"> 
  • release-kits/wirk2/ant-scripts/create-components.xml

    r17937 r17956  
    1818                <antcall target="prepare-sourcecode-component" /> 
    1919 
    20                 <antcall target="prepare-source-release" /> 
    2120        </target> 
    2221         
     
    2625                <antcall target="compress-ghostscript-component" /> 
    2726 
    28                 <antcall target="compress-source-release" /
     27                <antcall target="compress-zipped-binary-release"><param name="format" value="zip"/></antcall> <!-- from init --
    2928 
    3029        </target> 
     
    120119                </copy> 
    121120                                 
    122                 <!--<zip destfile="components/sourcecode.comp" basedir="components/tmp/sourcecode" compress="false" />--
    123                 <zip destfile="components/Greenstone-${version}-win32-sourcecode.zip" basedir="components/tmp/sourcecode" compress="true"/> 
     121                <mkdir dir="products"/
     122                <zip destfile="products/Greenstone-${version}-${os.suffix}-sourcecode-component.zip" basedir="components/tmp/sourcecode" compress="true"/> 
    124123        </target> 
    125124                 
    126         <target name="compress-source-release"> 
    127                 <exec executable="7z.exe" dir="components"><arg line="a -t7z -mx=9 source-release.lzma source-release.comp"/></exec> 
    128         </target> 
    129  
    130  
    131125</project> 
  • release-kits/wirk2/ant-scripts/create-distribution.xml

    r17954 r17956  
    1313                <antcall target="dist-unzip-packages"/> 
    1414                 
    15                 <antcall target="copy-web-to-source" /> <!-- from init --> 
    16          
    1715                <antcall target="drop-in-binaries" /> 
    1816                <antcall target="drop-in-demo-collection" /> 
  • release-kits/wirk3/ant-scripts/create-components.xml

    r17898 r17956  
    2020                <antcall target="prepare-sourcecode-component" /> 
    2121 
    22                 <antcall target="prepare-source-release" /> 
    2322        </target> 
    2423         
     
    3029                <antcall target="compress-tomcat-component" /> 
    3130 
    32                 <!--<antcall target="compress-sourcecode-component" />--> 
    33  
    34                 <antcall target="compress-source-release" /> 
     31                <antcall target="compress-zipped-binary-release"><param name="format" value="zip"/></antcall> <!-- from init --> 
    3532 
    3633        </target> 
     
    131128                                </fileset> 
    132129                </copy> 
    133                                  
    134                 <zip destfile="components/sourcecode.comp" basedir="components/tmp/sourcecode" compress="false" /> 
    135                 <zip destfile="components/Greenstone-${version}-win32-sourcecode.zip" basedir="components/tmp/sourcecode" compress="true"/> 
     130 
     131                <mkdir dir="products"/> 
     132                <zip destfile="products/Greenstone-${version}-${os.suffix}-sourcecode-component.zip" basedir="components/tmp/sourcecode" compress="true"/> 
    136133        </target> 
    137134                 
     
    173170        </target>        
    174171 
    175         <target name="compress-source-release"> 
    176                 <exec executable="7z.exe" dir="components"><arg line="a -t7z -mx=9 source-release.lzma source-release.comp"/></exec> 
    177         </target> 
    178          
    179172</project> 
  • release-kits/wirk3/ant-scripts/create-distribution.xml

    r17898 r17956  
    1010                <antcall target="insert-user-manual"/> 
    1111                <antcall target="insert-uninstaller"><param name="script-format" value="bat"/></antcall> <!-- from rk3-targets --> 
    12  
    13                 <antcall target="copy-web-to-source" /> <!-- from gs3-targets --> 
    1412 
    1513                <ant target="create-distribution-1" antfile="${wirk3.home}/ant-scripts/operations-on-gs3home.xml" dir="distributions/web" inheritAll="false">