Changeset 19793

Show
Ignore:
Timestamp:
10.06.2009 14:51:44 (10 years ago)
Author:
oranfry
Message:

changed default location of server.exe for export to cdrom, and allowed override through a property

Location:
release-kits
Files:
4 modified

Legend:

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

    r19592 r19793  
    3333 
    3434    <!-- THE MAIN TARGET --> 
    35     <target name="lirk2" depends="init"> 
     35    <target name="lirk2" depends="init,gs2-init"> 
    3636        <antcall target="compile"/> 
    3737        <antcall target="create-distribution"/> 
     
    4444    <target name="properties"> 
    4545        <echo>Required Properties:</echo> 
    46         <echo>version             the version string for the release</echo> 
     46        <echo>version                       the version string for the release</echo> 
    4747        <echo/> 
    4848 
    4949        <echo>Optional Properties:</echo> 
    50         <echo>branch.path         the branch of gsdl to make a release of. Eg: tags/2.81. Default: trunk.</echo> 
    51         <echo>branch.revision     the revision of gsdl to make a release of. Eg: 18273. Default: HEAD.</echo> 
     50        <echo>branch.path                   the branch of gsdl to make a release of. Eg: tags/2.81. Default: trunk.</echo> 
     51        <echo>branch.revision               the revision of gsdl to make a release of. Eg: 18273. Default: HEAD.</echo> 
     52        <echo>server.exe.location           URL to get server.exe from</echo> 
    5253        <echo/> 
    5354    </target> 
  • release-kits/mark2/ant-scripts/build.xml

    r19592 r19793  
    5252 
    5353    <!-- THE MAIN TARGET --> 
    54     <target name="mark2" depends="init,mark2-init"> 
     54    <target name="mark2" depends="init,gs2-init,mark2-init"> 
    5555        <antcall target="compile"/> 
    5656        <antcall target="create-distribution"/> 
     
    6363    <target name="properties"> 
    6464        <echo>Required Properties:</echo> 
    65         <echo>version             the version string for the release</echo> 
    66         <echo>processor           the processor type of the release. Allowed Values: 'ppc', 'intel'.</echo> 
     65        <echo>version                       the version string for the release</echo> 
     66        <echo>processor                     the processor type of the release. Allowed Values: 'ppc', 'intel'.</echo> 
    6767        <echo/> 
    6868 
    6969        <echo>Optional Properties:</echo> 
    70         <echo>branch.path         the branch of gsdl to make a release of. Eg: tags/2.81. Default: trunk.</echo> 
    71         <echo>branch.revision     the revision of gsdl to make a release of. Eg: 18273. Default: HEAD.</echo> 
     70        <echo>branch.path                   the branch of gsdl to make a release of. Eg: tags/2.81. Default: trunk.</echo> 
     71        <echo>branch.revision               the revision of gsdl to make a release of. Eg: 18273. Default: HEAD.</echo> 
     72        <echo>server.exe.location           URL to get server.exe from</echo> 
    7273        <echo/> 
    7374    </target> 
  • release-kits/shared/greenstone2/ant-scripts/rk2-targets.xml

    r19479 r19793  
    1212    <property name="version.major" value="2"/> 
    1313 
     14    <target name="gs2-init"> 
     15        <property name="server.exe.location" value="http://www.greenstone.org/caveat-emptor/server-${version}-candidate-${date}.exe" /> 
     16        <echo message="server.exe.location:                    ${server.exe.location}"/> 
     17    </target> 
     18 
    1419    <target name="export-gsdl-gli"> 
    1520        <delete dir="${dest}"/> 
     
    9398    <target name="insert-export-to-cd-package"> 
    9499        <mkdir dir="${gsdl.basedir}/bin/windows"/> 
    95         <get src="http://greenstone.org/release-snapshots/server.exe" dest="${gsdl.basedir}/bin/windows/server.exe"/> 
     100        <get src="${server.exe.location}" dest="${gsdl.basedir}/bin/windows/server.exe"/> 
    96101        <get src="http://svn.greenstone.org/other-projects/trunk/winbin/bin/Setup.exe" dest="${gsdl.basedir}/bin/windows/Setup.exe"/> 
    97102        <get src="http://svn.greenstone.org/other-projects/trunk/winbin/bin/gssetup.exe" dest="${gsdl.basedir}/bin/windows/gssetup.exe"/> 
  • release-kits/wirk2/ant-scripts/build.xml

    r19586 r19793  
    3636 
    3737    <!-- THE MAIN TARGET --> 
    38     <target name="wirk2" depends="init"> 
     38    <target name="wirk2" depends="init,gs2-init"> 
    3939        <antcall target="compile"/> 
    4040        <antcall target="create-distribution"/>