Ignore:
Timestamp:
2010-08-25T15:45:16+12:00 (14 years ago)
Author:
sjm84
Message:

crypt.zip is not longer unzipped

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/release-kits/kits/rk2/ant-scripts/compile.xml

    r22493 r22781  
    5454            <!-- unzip packages -->
    5555            <unzip src="${basedir}/compiled/common-src/packages/windows/crypt/crypt.zip" dest="${basedir}/compiled/common-src/packages/windows/crypt"/>
    56             <unzip src="${basedir}/compiled/common-src/packages/windows/expat/expat.zip" dest="${basedir}/compiled/common-src/packages/windows/expat"/>
     56           
     57            <!-- unzip expat if the version is less that 2.84 -->
     58            <if><bool><and>
     59                <not><equals arg1="${branch.path}" arg2="trunk"/></not>
     60                <not><equals arg1="${branch.path}" arg2="tags/stable"/></not>
     61                <islessthan arg1="${branch.tag.version}" arg2="2.84"/>
     62            </and></bool>
     63                <unzip src="${basedir}/compiled/common-src/packages/windows/expat/expat.zip" dest="${basedir}/compiled/common-src/packages/windows/expat"/>
     64            </if>
     65           
    5766            <unzip src="${basedir}/compiled/common-src/packages/windows/stlport/stlport.zip" dest="${basedir}/compiled/common-src/packages/windows/stlport"/>
    5867            <unzip src="${basedir}/compiled/common-src/indexers/packages/windows/iconv/iconv.zip" dest="${basedir}/compiled/common-src/indexers/packages/windows/iconv"/>
     
    6170            <!-- get winbin from tags if the version is greater than 2.83 otherwise get it from trunk -->
    6271            <if><bool><not><available file="${basedir}/compiled/bin/windows"/></not></bool>
    63                 <if>
    64                     <bool>
    65                     <and>
    66                         <not><equals arg1="${branch.path}" arg2="trunk"/></not>
    67                         <not><equals arg1="${branch.path}" arg2="tags/stable"/></not>
    68                         <isgreaterthan arg1="${branch.tag.version}" arg2="2.83"/>
    69                     </and>
    70                     </bool>
     72                <if><bool><and>
     73                    <not><equals arg1="${branch.path}" arg2="trunk"/></not>
     74                    <not><equals arg1="${branch.path}" arg2="tags/stable"/></not>
     75                    <isgreaterthan arg1="${branch.tag.version}" arg2="2.83"/>
     76                </and></bool>
    7177                   
    7278                    <exec executable="svn">
     
    314320            <delete dir="compiled/bin/linux/wv"/>
    315321
    316             <if>
    317               <bool>
    318                 <and>
     322            <if><bool><and>
    319323                <not><equals arg1="${branch.path}" arg2="trunk"/></not>
    320324                <not><equals arg1="${branch.path}" arg2="tags/stable"/></not>
    321325                <isgreaterthan arg1="${branch.tag.version}" arg2="2.83"/>
    322                 </and>
    323               </bool>
    324 
    325               <exec executable="svn">
    326                 <arg value="export"/>
    327                 <arg value="${svn.root}/main/${branch.path}/binaries/linux/imagemagick"/>
    328                 <arg value="compiled/bin/linux/imagemagick"/>
    329               </exec>
    330 
    331               <exec executable="svn">
    332                 <arg value="export"/>
    333                 <arg value="${svn.root}/main/${branch.path}/binaries/linux/wv"/>
    334                 <arg value="compiled/bin/linux/wv"/>
    335               </exec>
    336 
    337               <else>
    338                 <exec executable="svn">
    339                   <arg value="export"/>
    340                   <arg value="${svn.root}/main/trunk/binaries/linux/imagemagick"/>
    341                   <arg value="compiled/bin/linux/imagemagick"/>
    342                 </exec>
    343 
    344                 <exec executable="svn">
    345                   <arg value="export"/>
    346                   <arg value="${svn.root}/main/trunk/binaries/linux/wv"/>
    347                   <arg value="compiled/bin/linux/wv"/>
    348                 </exec>
    349               </else>
     326            </and></bool>
     327
     328                <exec executable="svn">
     329                    <arg value="export"/>
     330                    <arg value="${svn.root}/main/${branch.path}/binaries/linux/imagemagick"/>
     331                    <arg value="compiled/bin/linux/imagemagick"/>
     332                </exec>
     333
     334                <exec executable="svn">
     335                    <arg value="export"/>
     336                    <arg value="${svn.root}/main/${branch.path}/binaries/linux/wv"/>
     337                    <arg value="compiled/bin/linux/wv"/>
     338                </exec>
     339
     340                <else>
     341                    <exec executable="svn">
     342                        <arg value="export"/>
     343                        <arg value="${svn.root}/main/trunk/binaries/linux/imagemagick"/>
     344                        <arg value="compiled/bin/linux/imagemagick"/>
     345                    </exec>
     346
     347                    <exec executable="svn">
     348                        <arg value="export"/>
     349                        <arg value="${svn.root}/main/trunk/binaries/linux/wv"/>
     350                        <arg value="compiled/bin/linux/wv"/>
     351                    </exec>
     352                </else>
    350353            </if>
    351354
     
    363366            <delete dir="compiled/bin/darwin/ghostscript"/>
    364367
    365             <if>
    366               <bool>
    367                 <and>
     368            <if><bool><and>
    368369                <not><equals arg1="${branch.path}" arg2="trunk"/></not>
    369370                <not><equals arg1="${branch.path}" arg2="tags/stable"/></not>
    370371                <isgreaterthan arg1="${branch.tag.version}" arg2="2.83"/>
    371                 </and>
    372               </bool>
    373 
    374               <exec executable="svn">
    375                 <arg value="export"/>
    376                 <arg value="${svn.root}/main/${branch.path}/binaries/mac/intel/imagemagick"/>
    377                 <arg value="compiled/bin/darwin/imagemagick"/>
    378               </exec>
     372            </and></bool>
     373
     374                <exec executable="svn">
     375                    <arg value="export"/>
     376                    <arg value="${svn.root}/main/${branch.path}/binaries/mac/intel/imagemagick"/>
     377                    <arg value="compiled/bin/darwin/imagemagick"/>
     378                </exec>
    379379             
    380               <exec executable="svn">
    381                 <arg value="export"/>
    382                 <arg value="${svn.root}/main/${branch.path}/binaries/mac/intel/ghostscript"/>
    383                 <arg value="compiled/bin/darwin/ghostscript"/>
    384               </exec>
    385 
    386               <else>               
    387                 <exec executable="svn">
    388                   <arg value="export"/>
    389                   <arg value="${svn.root}/main/trunk/binaries/mac/intel/imagemagick"/>
    390                   <arg value="compiled/bin/darwin/imagemagick"/>
    391                 </exec>
     380                <exec executable="svn">
     381                    <arg value="export"/>
     382                    <arg value="${svn.root}/main/${branch.path}/binaries/mac/intel/ghostscript"/>
     383                    <arg value="compiled/bin/darwin/ghostscript"/>
     384                </exec>
     385
     386                <else>             
     387                    <exec executable="svn">
     388                        <arg value="export"/>
     389                        <arg value="${svn.root}/main/trunk/binaries/mac/intel/imagemagick"/>
     390                        <arg value="compiled/bin/darwin/imagemagick"/>
     391                    </exec>
    392392               
    393                 <exec executable="svn">
    394                   <arg value="export"/>
    395                   <arg value="${svn.root}/main/trunk/binaries/mac/intel/ghostscript"/>
    396                   <arg value="compiled/bin/darwin/ghostscript"/>
    397                 </exec>
    398               </else>
     393                    <exec executable="svn">
     394                        <arg value="export"/>
     395                        <arg value="${svn.root}/main/trunk/binaries/mac/intel/ghostscript"/>
     396                        <arg value="compiled/bin/darwin/ghostscript"/>
     397                    </exec>
     398                </else>
    399399            </if>
    400400
     
    418418            <get src="${server.exe.location}" dest="compiled/bin/windows/server.exe"/>
    419419
    420             <if>
    421               <bool>
    422                 <and>
     420            <if><bool><and>
    423421                <not><equals arg1="${branch.path}" arg2="trunk"/></not>
     422                <not><equals arg1="${branch.path}" arg2="tags/stable"/></not>
    424423                <isgreaterthan arg1="${branch.tag.version}" arg2="2.83"/>
    425                 </and>
    426               </bool>
    427              
    428               <get src="${svn.root}/main/${branch.path}/binaries/windows/bin/Setup.exe" dest="compiled/bin/windows/Setup.exe"/>
    429               <get src="${svn.root}/main/${branch.path}/binaries/windows/bin/gssetup.exe" dest="compiled/bin/windows/gssetup.exe"/>
    430 
    431               <else>
    432                 <get src="${svn.root}/main/trunk/binaries/windows/bin/Setup.exe" dest="compiled/bin/windows/Setup.exe"/>
    433                 <get src="${svn.root}/main/trunk/binaries/windows/bin/gssetup.exe" dest="compiled/bin/windows/gssetup.exe"/>
    434               </else>
     424            </and></bool>
     425                <get src="${svn.root}/main/${branch.path}/binaries/windows/bin/Setup.exe" dest="compiled/bin/windows/Setup.exe"/>
     426                <get src="${svn.root}/main/${branch.path}/binaries/windows/bin/gssetup.exe" dest="compiled/bin/windows/gssetup.exe"/>
     427
     428                <else>
     429                    <get src="${svn.root}/main/trunk/binaries/windows/bin/Setup.exe" dest="compiled/bin/windows/Setup.exe"/>
     430                    <get src="${svn.root}/main/trunk/binaries/windows/bin/gssetup.exe" dest="compiled/bin/windows/gssetup.exe"/>
     431                </else>
    435432            </if>
    436433        </if>
Note: See TracChangeset for help on using the changeset viewer.