build.xml

changeset 91
cc35f0e129d2
parent 85
ae2bec597586
child 95
4023edcd8433
     1.1 --- a/build.xml	Thu Oct 15 16:40:27 2009 -0700
     1.2 +++ b/build.xml	Fri Oct 23 11:06:56 2009 -0700
     1.3 @@ -49,6 +49,13 @@
     1.4      <!-- Project build properties. -->
     1.5      <property file="build.properties"/>
     1.6  
     1.7 +    <!-- See if drop sources were included. -->
     1.8 +    <condition property="drop.dir" 
     1.9 +               value="${drop.included.dir}" 
    1.10 +               else="${drop.expanded.dir}">
    1.11 +        <available file="${drop.included.dir}" type="dir"/>
    1.12 +    </condition>
    1.13 +
    1.14      <!-- Get shared targets. -->
    1.15      <import file="build-defs.xml"/>
    1.16  
    1.17 @@ -131,6 +138,16 @@
    1.18              description="Populate all source file directories">
    1.19      </target>
    1.20  
    1.21 +    <!-- Populate drop_included area. -->
    1.22 +    <target name="drop_included"
    1.23 +            depends="clobber"
    1.24 +            description="Populate all source file directories">
    1.25 +        <delete dir="${drop.included.dir}"/>
    1.26 +        <antcall target="source"/>
    1.27 +        <move file="${drop.expanded.dir}" tofile="${drop.included.dir}"/>
    1.28 +        <delete dir="${drop.included.dir}/bundles"/>
    1.29 +    </target>
    1.30 +
    1.31      <!-- Clean up compiled files. -->
    1.32      <target name="clean"
    1.33              description="Delete all generated files">
    1.34 @@ -142,7 +159,7 @@
    1.35      <target name="clobber"
    1.36  	    depends="clean"
    1.37              description="Delete all generated files, including imported sources">
    1.38 -        <delete dir="${drop.dir}"/>
    1.39 +        <delete dir="${drop.expanded.dir}"/>
    1.40      </target>
    1.41  
    1.42      <target name="-banner">

mercurial