Changeset 21649

Show
Ignore:
Timestamp:
27.01.2010 08:30:24 (9 years ago)
Author:
oranfry
Message:

change all uses of svnant to execs of system svn

Location:
main/trunk/release-kits/kits
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/release-kits/kits/cdrk2/ant-scripts/build.xml

    r21648 r21649  
    6161 
    6262    <target name="checkout-and-compile-documentation"> 
    63         <svn> 
    64             <checkout url="${svn.root}/documentation/${branch.path}/shared" destPath="documentation/shared"/> 
    65         </svn>       
    66         <javac srcdir="documentation/shared" destdir="documentation/shared" debug="on"> 
     63        <exec executable="svn"> 
     64            <arg value="export"/> 
     65            <arg value="${svn.root}/documentation/${branch.path}/shared"/> 
     66            <arg value="documentation/shared"/> 
     67        </exec> 
     68        <javac srcdir="documentation/shared" destdir="" debug="on"> 
    6769            <include name="*.java"/> 
    6870        </javac> 
     
    7274    <target name="build-tutorials"> 
    7375 
    74         <svn> 
    75             <checkout url="${svn.root}/documentation/${branch.path}/tutorials" destPath="documentation/tutorials"/> 
    76             <checkout url="${svn.root}/main/${branch.path}/gli" destPath="documentation/gli"/> 
    77             <checkout url="${svn.root}/main/${branch.path}/greenstone2/perllib" destPath="documentation/perllib"/> 
    78             <checkout url="${svn.root}/main/${branch.path}/greenstone2/macros" destPath="documentation/macros"/> 
    79             <checkout url="${svn.root}/documentation/${branch.path}/tutorial_sample_files" destPath="documentation/tutorial_sample_files"/> 
    80         </svn> 
     76        <exec executable="svn"><arg value="checkout"/><arg value="${svn.root}/documentation/${branch.path}/tutorials"/><arg value="documentation/tutorials"/></exec> 
     77        <exec executable="svn"><arg value="checkout"/><arg value="${svn.root}/main/${branch.path}/gli"/><arg value="documentation/gli"/></exec> 
     78        <exec executable="svn"><arg value="checkout"/><arg value="${svn.root}/main/${branch.path}/greenstone2/perllib"/><arg value="documentation/perllib"/></exec> 
     79        <exec executable="svn"><arg value="checkout"/><arg value="${svn.root}/main/${branch.path}/greenstone2/macros"/><arg value="documentation/macros"/></exec> 
     80        <exec executable="svn"><arg value="checkout"/><arg value="${svn.root}/documentation/${branch.path}/tutorial_sample_files"/><arg value="documentation/tutorial_sample_files"/></exec> 
    8181 
    8282        <delete dir="documentation/tutorials/html"/> 
     
    113113    <target name="build-documentation"> 
    114114         
    115         <svn> 
    116             <checkout url="${svn.root}/documentation/${branch.path}/manuals" destPath="documentation/manuals"/> 
    117             <checkout url="${svn.root}/documentation/${branch.path}/shared" destPath="documentation/shared"/> 
    118             <checkout url="${svn.root}/main/${branch.path}/gli" destPath="documentation/gli"/> 
    119         </svn> 
     115        <exec executable="svn"><arg value="checkout"/><arg value="${svn.root}/documentation/${branch.path}/manuals"/><arg value="documentation/manuals"/></exec> 
     116        <exec executable="svn"><arg value="checkout"/><arg value="${svn.root}/documentation/${branch.path}/shared"/><arg value="documentation/shared"/></exec> 
     117        <exec executable="svn"><arg value="checkout"/><arg value="${svn.root}/main/${branch.path}/gli"/><arg value="documentation/gli"/></exec> 
     118 
    120119        <unzip src="documentation/shared/fop.zip" dest="documentation/shared"/> 
    121120        <chmod perm="a+x" file="documentation/shared/fop/fop.sh"/> 
  • main/trunk/release-kits/kits/derk/ant-scripts/build.xml

    r21648 r21649  
    4242    <target name="export-dec"> 
    4343        <if><bool><not><available file="dec"/></not></bool> 
    44             <svn> 
    45                 <export srcurl="${svn.root}/documented-examples/${branch.path}" destPath="documented-examples"/> 
    46             </svn> 
     44            <exec executable="svn"> 
     45                <arg value="export"/> 
     46                <arg value="${svn.root}/documented-examples/${branch.path}"/> 
     47                <arg value="documented-examples"/> 
     48            </exec> 
    4749        </if> 
    4850    </target> 
     
    5557        <if> 
    5658            <bool><not><available file="gs2build"/></not></bool> 
    57             <svn> 
    58                 <export srcurl="${svn.root}/main/${branch.path}/gs2build" destPath="gs2build"/> 
    59             </svn> 
     59            <exec executable="svn"> 
     60                <arg value="export"/> 
     61                <arg value="${svn.root}/main/${branch.path}/gs2build"/> 
     62                <arg value="gs2build"/> 
     63            </exec> 
    6064        </if> 
    6165 
  • main/trunk/release-kits/kits/sork2/ant-scripts/build.xml

    r21648 r21649  
    5353    <target name="insert-winbin"> 
    5454        <delete dir="distributions/Greenstone-${version}-source-distribution/bin/windows"/> 
    55         <svn> 
    56             <export srcurl="${svn.root}/main/${branch.path}/binaries/windows/bin" destPath="distributions/Greenstone-${version}-source-distribution/bin/windows"/> 
    57         </svn> 
     55        <exec executable="svn"> 
     56            <arg value="export"/> 
     57            <arg value="${svn.root}/main/${branch.path}/binaries/windows/bin"/> 
     58            <arg value="distributions/Greenstone-${version}-source-distribution/bin/windows"/> 
     59        </exec> 
    5860        <get src="${server.exe.location}" dest="distributions/Greenstone-${version}-source-distribution/bin/windows/server.exe"/> 
    5961