Ignore:
Timestamp:
2013-03-27T19:41:37+13:00 (11 years ago)
Author:
ak19
Message:

Fixed minor bug when gnome-lib gets compiled based on the setting of the use.support.lib property in buildproperties. Previously it got checked out and built all the time even if the property had been set to false. Now the check for this is in the right place.

File:
1 edited

Legend:

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

    r27135 r27139  
    22942294
    22952295  <target name="prepare-gnome-lib" depends="init" if="collection.building.enabled" unless="gnome-lib.present">
    2296     <antcall target="checkout-gnome-lib"/>
    2297     <antcall target="compile-gnome-lib"/>
     2296    <if>
     2297      <bool>
     2298    <istrue value="${use.support.lib}"/>
     2299      </bool>
     2300
     2301      <antcall target="checkout-gnome-lib"/>
     2302      <antcall target="compile-gnome-lib"/>
     2303
     2304      <else>
     2305    <echo>**** Not preparing gnome-lib:</echo>
     2306    <echo>property use.support.lib in build.properties was not set or was set to false</echo>
     2307      </else>
     2308    </if>
    22982309  </target>
    22992310
Note: See TracChangeset for help on using the changeset viewer.