Changeset 26791

Show
Ignore:
Timestamp:
25.01.2013 15:38:28 (6 years ago)
Author:
davidb
Message:

Streamlining of compile sequence to checkout gnome-lib extension if use.support is set to true

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/build.xml

    r26776 r26791  
    746746    <available file="${basedir}/common-src" property="common.src.present"/> 
    747747    <available file="${basedir}/gs2build" property="gs2build.present"/> 
     748    <available file="${gnome-lib-dir}" property="gnome-lib.present"/> 
    748749 
    749750    <condition property="tomcat.islocal"> 
     
    22102211  <target name="prepare-gs2build" depends="init" if="collection.building.enabled" unless="gs2build.present"> 
    22112212    <antcall target="checkout-gs2build"/> 
     2213    <antcall target="prepare-gnome-lib"/> 
    22122214    <antcall target="unzip-windows-packages"/> 
    22132215    <antcall target="checkout-winbin"/> 
     
    22232225      <arg value="-r"/><arg value="${branch.revision}"/> 
    22242226    </exec> 
    2225  
    2226  
     2227  </target> 
     2228 
     2229  <target name="prepare-gnome-lib" depends="init" if="collection.building.enabled" unless="gnome-lib.present"> 
     2230    <antcall target="checkout-gnome-lib"/> 
     2231  </target> 
     2232 
     2233  <target name="checkout-gnome-lib" depends="init" if="collection.building.enabled" unless="nosvn.mode"> 
     2234    <echo>checking out gnome-lib extension</echo> 
     2235    <exec executable="svn"> 
     2236      <arg value="checkout"/> 
     2237      <arg value="${svn.root}/gs2-extensions/gnome-lib/trunk/src"/> 
     2238      <arg value="${gs2build.home}/ext/gnome-lib"/> 
     2239    </exec> 
    22272240  </target> 
    22282241