Changeset 19028

Show
Ignore:
Timestamp:
17.04.2009 10:38:32 (10 years ago)
Author:
oranfry
Message:

progress on derk

Location:
release-kits/derk
Files:
2 added
1 modified

Legend:

Unmodified
Added
Removed
  • release-kits/derk/ant-scripts/build.xml

    r19001 r19028  
    2424    <target name="derk" depends="init"> 
    2525        <antcall target="export-dec"/> 
     26        <antcall target="prepare-gs2build"/> 
     27        <antcall target="build-collections"/> 
    2628        <antcall target="create-archives"/> 
    2729    </target> 
    2830 
    2931    <target name="export-dec"> 
    30         <delete dir="dec"/> 
    31         <svn> 
    32             <export srcurl="${svn.root}/documented-example-collections" destPath="dec"/> 
    33         </svn> 
     32        <if><bool><not><available file="dec"/></not></bool> 
     33            <svn> 
     34                <export srcurl="${svn.root}/documented-example-collections/${branch.path}" destPath="dec"/> 
     35            </svn> 
     36        </if> 
     37    </target> 
     38 
     39    <target name="prepare-gs2build"> 
     40        <if> 
     41            <bool><not><available file="gs2build"/></not></bool> 
     42            <svn> 
     43                <export srcurl="${svn.root}/gs2build" destPath="gs2build"/> 
     44            </svn> 
     45        </if> 
     46 
     47        <exec dir="gs2build" executable="/bin/bash" failonerror="true"><arg value="./configure"/></exec> 
     48        <exec dir="gs2build/common-src" executable="make" failonerror="true"/> 
     49        <exec dir="gs2build/common-src" executable="make" failonerror="true"><arg value="install"/></exec> 
     50        <exec dir="gs2build" executable="make" failonerror="true"/> 
     51        <exec dir="gs2build" executable="make" failonerror="true"><arg value="install"/></exec> 
     52 
     53    </target> 
     54 
     55    <target name="build-collections"> 
     56        <exec dir="gs2build" executable="${derk.home}/resources/build.sh" failonerror="true"/> 
    3457    </target> 
    3558