Ignore:
Timestamp:
2009-05-12T16:26:33+12:00 (15 years ago)
Author:
oranfry
Message:

pass on the value of install.flax to the compiled greenstone3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/wirk3/ant-scripts/compile.xml

    r19013 r19406  
    44    <target name="compile">
    55        <antcall target="checkout-greenstone3" />
     6        <antcall target="generate-build-properties"/>
     7       
    68        <antcall target="greenstone3-set-version-numbers"><param name="greenstone3basedir" value="${basedir}/compiled" /></antcall>
    79        <ant target="prepare-windows" dir="compiled" antfile="${wirk3.home}/ant-scripts/operations-on-gs3home.xml" inheritAll="false">
     
    2426            <checkout url="${svn.root}/greenstone3/${branch.path}" destPath="compiled" revision="${branch.revision}"/>
    2527        </svn>
     28    </target>
     29
     30    <target name="generate-build-properties">
     31        <copy file="compiled/build.properties.in" tofile="compiled/build.properties"/>
     32        <if><bool><istrue value="${install.flax}"/></bool>
     33            <rsr file="compiled/build.properties" pattern="^#install.flax\s*[=:].*" replacement="install.flax=true"/>
     34        </if>
    2635    </target>
    2736
     
    6776        </exec>
    6877    </target>
    69 
     78   
    7079</project>
Note: See TracChangeset for help on using the changeset viewer.