Changeset 18054 for release-kits/mark2


Ignore:
Timestamp:
2008-12-04T11:22:39+13:00 (15 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/mark2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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>
Note: See TracChangeset for help on using the changeset viewer.