Changeset 18054 for release-kits

Show
Ignore:
Timestamp:
04.12.2008 11:22:39 (11 years ago)
Author:
oranfry
Message:

create needed empty files at build time so they make it into all releases including archive releases

Location:
release-kits
Files:
6 modified

Legend:

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

    r18049 r18054  
    88        <antcall target="gli-set-version-numbers"><param name="glibasedir" value="${basedir}/distributions/web/gli"/></antcall> 
    99        <antcall target="drop-in-docs" /> 
    10         <antcall target="tweak-files" /> 
    1110        <antcall target="insert-uninstaller"><param name="script-format" value="sh"/></antcall> <!-- from rk2-targets --> 
    1211        <antcall target="drop-in-demo-collection" /> 
     
    1615        <antcall target="compile-gli" /> 
    1716        <antcall target="remove-unneeded-files" /> 
     17        <antcall target="create-needed-empty-files"><parem name="gsdl.basedir" value="distributions/web"/></antcall> 
    1818 
    1919        <antcall target="create-binary-zip-linux"/> 
    2020 
    2121    </target> 
    22  
    23     <target name="tweak-files"> 
    24         <echo level="info">Changing Install.sh to web release</echo> 
    25         <rsr file="${basedir}/distributions/web/Install.sh" pattern="^(iscdrom=).*" replacement="$1&quot;no&quot;" /> 
    26  
    27         <echo level="info">Changing date and version in the docs</echo> 
    28         <!-- ar --> 
    29         <rsr file="${basedir}/distributions/web/READMEar.txt" pattern="(التاريخ : \s*)(.*)" replacement="$1${month.ar} ${current.year}" /> 
    30         <rsr file="${basedir}/distributions/web/READMEar.txt" pattern="(النسخه : \s*)(.*)" replacement="$1${version}" /> 
    31  
    32         <!-- es --> 
    33         <rsr file="${basedir}/distributions/web/READMEes.txt" pattern="^(Fecha\s*)(.*)" replacement="$1${month.es} de ${current.year}" /> 
    34         <rsr file="${basedir}/distributions/web/READMEes.txt" pattern="^(Versi.?n\s*)(.*)" replacement="$1${version}" /> 
    35         <!-- fr --> 
    36         <rsr file="${basedir}/distributions/web/READMEfr.txt" pattern="^(Date\s*)(.*)" replacement="$1${month.fr} ${current.year}" /> 
    37         <rsr file="${basedir}/distributions/web/READMEfr.txt" pattern="^(Version\s*)(.*)" replacement="$1${version}" /> 
    38         <!-- ru --> 
    39         <rsr file="${basedir}/distributions/web/READMEru.txt" pattern="^(Дата\s*)(.*)" replacement="$1${month.ru} ${current.year}" /> 
    40         <rsr file="${basedir}/distributions/web/READMEru.txt" pattern="^(ВерсОя\s*)(.*)" replacement="$1${version}" /> 
    41         <!-- en --> 
    42         <rsr file="${basedir}/distributions/web/READMEen.txt" pattern="^(Date\s*)(.*)" replacement="$1${month.default} ${current.year}" /> 
    43         <rsr file="${basedir}/distributions/web/READMEen.txt" pattern="^(Version\s*)(.*)" replacement="$1${version}" /> 
    44  
    45     </target> 
    46  
    4722 
    4823    <target name="drop-in-docs"> 
  • release-kits/lirk2/installer/build.xml

    r17830 r18054  
    9393        <rsr file="${installDir}/etc/main.cfg" pattern="^status .*" replacement="status enabled"/> 
    9494 
    95         <echo>Create usage.txt</echo> 
    96         <echo file="${installDir}/etc/usage.txt"></echo> 
    97  
    9895        <echo>Creating installation properties file</echo> 
    9996        <echo file="${installDir}/etc/installation.properties">#this file is just a placeholder for now</echo> 
  • release-kits/mark2/ant-scripts/create-distribution.xml

    r18049 r18054  
    88        <antcall target="gli-set-version-numbers"><param name="glibasedir" value="${basedir}/distributions/web/gli"/></antcall> 
    99        <antcall target="drop-in-docs" /> 
    10         <antcall target="tweak-files" /> 
    1110        <antcall target="insert-uninstaller"><param name="script-format" value="sh"/></antcall> <!-- from rk2-targets --> 
    1211        <antcall target="drop-in-binaries" /> 
     
    1716        <antcall target="compile-gli" /> 
    1817        <antcall target="remove-unneeded-files" /> 
     18        <antcall target="create-needed-empty-files"><parem name="gsdl.basedir" value="distributions/web"/></antcall> 
    1919 
    2020        <antcall target="create-binary-zip-linux"/> 
     
    7676    </target> 
    7777 
    78     <target name="tweak-files"> 
    79         <echo level="info">Changing Install.sh to web release</echo> 
    80         <rsr file="${basedir}/distributions/web/Install.sh" pattern="^(iscdrom=).*" replacement="$1&quot;no&quot;" /> 
    81  
    82         <echo level="info">Changing date and version in the docs</echo> 
    83         <!-- ar --> 
    84         <rsr file="${basedir}/distributions/web/READMEar.txt" pattern="(التاريخ : \s*)(.*)" replacement="$1${month.ar} ${current.year}" /> 
    85         <rsr file="${basedir}/distributions/web/READMEar.txt" pattern="(النسخه : \s*)(.*)" replacement="$1${version}" /> 
    86         <!-- es --> 
    87         <rsr file="${basedir}/distributions/web/READMEes.txt" pattern="^(Fecha\s*)(.*)" replacement="$1${month.es} de ${current.year}" /> 
    88         <rsr file="${basedir}/distributions/web/READMEes.txt" pattern="^(Versi.?n\s*)(.*)" replacement="$1${version}" /> 
    89         <!-- fr --> 
    90         <rsr file="${basedir}/distributions/web/READMEfr.txt" pattern="^(Date\s*)(.*)" replacement="$1${month.fr} ${current.year}" /> 
    91         <rsr file="${basedir}/distributions/web/READMEfr.txt" pattern="^(Version\s*)(.*)" replacement="$1${version}" /> 
    92         <!-- ru --> 
    93         <rsr file="${basedir}/distributions/web/READMEru.txt" pattern="^(Дата\s*)(.*)" replacement="$1${month.ru} ${current.year}" /> 
    94         <rsr file="${basedir}/distributions/web/READMEru.txt" pattern="^(ВерсОя\s*)(.*)" replacement="$1${version}" /> 
    95         <!-- en --> 
    96         <rsr file="${basedir}/distributions/web/READMEen.txt" pattern="^(Date\s*)(.*)" replacement="$1${month.default} ${current.year}" /> 
    97         <rsr file="${basedir}/distributions/web/READMEen.txt" pattern="^(Version\s*)(.*)" replacement="$1${version}" /> 
    98  
    99     </target> 
    100  
    10178    <target name="remove-unneeded-files"> 
    10279        <delete file="${basedir}/distributions/web/gli/.greenstonestore" /> 
  • release-kits/mark2/installer/build.xml

    r17815 r18054  
    7474        <delete file="${installDir}/resources/*.png"/> 
    7575 
    76         <echo>Create usage.txt</echo> 
    77         <echo file="${installDir}/etc/usage.txt"></echo> 
    78  
    7976        <echo>Creating installation properties file</echo> 
    8077        <echo file="${installDir}/etc/installation.properties">#this file is just a placeholder for now</echo> 
  • release-kits/wirk2/ant-scripts/create-distribution.xml

    r18049 r18054  
    88        <antcall target="gli-set-version-numbers"><param name="glibasedir" value="${basedir}/distributions/web/gli"/></antcall> 
    99        <antcall target="drop-in-docs" /> 
    10         <antcall target="tweak-files" /> 
    1110        <antcall target="insert-uninstaller"><param name="script-format" value="bat"/></antcall> <!-- from rk2-targets --> 
    1211        <antcall target="dist-unzip-packages"/> 
     
    1615        <antcall target="compile-gli" /> 
    1716        <antcall target="remove-unneeded-files" /> 
     17        <antcall target="create-needed-empty-files"><parem name="gsdl.basedir" value="distributions/web"/></antcall> 
    1818 
    1919        <antcall target="create-binary-zip-windows"/> 
     
    6868    </target> 
    6969 
    70     <target name="tweak-files"> 
    71         <echo level="info">Changing date and version in the docs</echo> 
    72         <!-- ar --> 
    73         <rsr file="${basedir}/distributions/web/READMEar.txt" pattern="(التاريخ : \s*)(.*)" replacement="$1${month.ar} ${current.year}" /> 
    74         <rsr file="${basedir}/distributions/web/READMEar.txt" pattern="(النسخه : \s*)(.*)" replacement="$1${version}" /> 
    75         <!-- es --> 
    76         <rsr file="${basedir}/distributions/web/READMEes.txt" pattern="^(Fecha\s*)(.*)" replacement="$1${month.es} de ${current.year}" /> 
    77         <rsr file="${basedir}/distributions/web/READMEes.txt" pattern="^(Versi.?n\s*)(.*)" replacement="$1${version}" /> 
    78         <!-- fr --> 
    79         <rsr file="${basedir}/distributions/web/READMEfr.txt" pattern="^(Date\s*)(.*)" replacement="$1${month.fr} ${current.year}" /> 
    80         <rsr file="${basedir}/distributions/web/READMEfr.txt" pattern="^(Version\s*)(.*)" replacement="$1${version}" /> 
    81         <!-- ru --> 
    82         <rsr file="${basedir}/distributions/web/READMEru.txt" pattern="^(Дата\s*)(.*)" replacement="$1${month.ru} ${current.year}" /> 
    83         <rsr file="${basedir}/distributions/web/READMEru.txt" pattern="^(ВерсОя\s*)(.*)" replacement="$1${version}" /> 
    84         <!-- en --> 
    85         <rsr file="${basedir}/distributions/web/READMEen.txt" pattern="^(Date\s*)(.*)" replacement="$1${month.default} ${current.year}" /> 
    86         <rsr file="${basedir}/distributions/web/READMEen.txt" pattern="^(Version\s*)(.*)" replacement="$1${version}" /> 
    87  
    88          
    89     </target> 
    90  
    9170    <target name="remove-unneeded-files"> 
    9271        <delete file="${basedir}/distributions/web/gli/.greenstonestore" /> 
  • release-kits/wirk2/installer/build.xml

    r18047 r18054  
    100100        <rsr file="${installDir}/gsdlsite.cfg" pattern="@gsdlhome@" replacement="${installDir}"/> 
    101101 
    102         <echo>Create usage.txt</echo> 
    103         <echo file="${installDir}/etc/usage.txt"></echo> 
    104                  
    105102        <echo message="Creating installation properties file"/> 
    106103        <echo file="${installDir}\etc\installation.properties">installed.startmenu.path:${startmenu.path.unix}</echo>