Changeset 19662

Show
Ignore:
Timestamp:
29.05.2009 11:50:43 (10 years ago)
Author:
oranfry
Message:

added code to help setup flax in a release

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • release-kits/shared/greenstone3/ant-scripts/rk3-targets.xml

    r19463 r19662  
    2020 
    2121    <target name="gs3-init"> 
    22         <!-- install.flax --> 
     22 
    2323        <property name="install.flax" value="false"/> 
    2424        <echo level="info">Install Flax? (install.flax): ${install.flax}</echo> 
     25 
     26        <property name="server.default.servlet" value="false"/> 
     27        <echo level="info">Greenstone3 default servlet? (server.default.servlet): ${server.default.servlet}</echo> 
     28 
     29        </target> 
     30     
     31    <target name="generate-build-properties"> 
     32        <copy file="${greenstone3.basedir}/build.properties.in" tofile="${greenstone3.basedir}/build.properties"/> 
     33        <if><bool><istrue value="${install.flax}"/></bool> 
     34            <rsr file="${greenstone3.basedir}/build.properties" pattern="^#install.flax\s*[=:].*" replacement="install.flax=true"/> 
     35        </if> 
     36        <if><bool><isset property="${server.default.servlet}"/></bool> 
     37            <rsr file="${greenstone3.basedir}/build.properties" pattern="^#server.default.servlet\s*[=:].*" replacement="server.default.servlet=${server.default.servlet}"/> 
     38        </if> 
    2539    </target> 
    2640 
    27     <target name="insert-uninstaller-jar"> 
    28         <copy file="compiled/uninst.jar" tofile="distributions/web/uninst.jar"/> 
    29     </target> 
    3041     
    3142</project>