Ignore:
Timestamp:
2009-04-08T11:49:53+12:00 (15 years ago)
Author:
oranfry
Message:

partially tested, partially complete changes for release kits to create dist based on the compiled copy of greenstone

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rk-oran/shared/greenstone2/ant-scripts/rk2-targets.xml

    r18869 r18907  
    9797    <target name="create-binary-zip-linux">
    9898        <property name="binzip.dir" value="distributions/Greenstone-${version}-${os.suffix}-binary"/>
     99
     100        <delete dir="${binzip.dir}"/>
    99101        <exec dir="${basedir}" executable="cp"><arg line="-r distributions/web ${binzip.dir}"/></exec>
    100102
     
    137139    </target>
    138140
     141    <target name="dist-clean-sourcecode">
     142        <exec dir="distributions/web" executable="make"><arg value="distclean"/></exec>
     143        <delete dir="distributions/web/common-src"/>
     144        <delete dir="distributions/web/build-src"/>
     145        <delete dir="distributions/web/runtime-src"/>
     146        <svn>
     147            <export srcurl="${svn.root}/gsdl/${branch.path}/common-src" destPath="distributions/web/common-src"/>
     148            <export srcurl="${svn.root}/gsdl/${branch.path}/build-src" destPath="distributions/web/build-src"/>
     149            <export srcurl="${svn.root}/gsdl/${branch.path}/runtime-src" destPath="distributions/web/runtime-src"/>
     150        </svn>
     151    </target>
     152
     153    <target name="dist-unzip-packages">
     154        <untar src="${basedir}/distributions/web/common-src/packages/sqlite/sqlite-amalgamation-3.5.9.tar.gz" dest="${basedir}/distributions/web/common-src/packages/sqlite" compression="gzip"/>
     155        <delete file="${basedir}/distributions/web/common-src/packages/sqlite/sqlite-amalgamation-3.5.9.tar.gz"/>
     156    </target>
     157
     158    <target name="make-common-src">
     159        <exec dir="${basedir}/compiled/common-src" executable="make" failonerror="true"/>
     160        <exec dir="${basedir}/compiled/common-src" executable="make" failonerror="true"><arg value="install"/></exec>
     161    </target>
     162
     163    <target name="checkout-gsdl-gli">
     164        <svn>
     165            <checkout url="${svn.root}/gsdl/${branch.path}" destPath="${basedir}/compiled"/>
     166            <checkout url="${svn.root}/gli/${branch.path}" destPath="${basedir}/compiled/gli"/>
     167        </svn>
     168    </target>
     169
     170
     171
    139172</project>
    140173   
Note: See TracChangeset for help on using the changeset viewer.