Author: [EMAIL PROTECTED]
Date: Wed Oct  8 09:09:08 2008
New Revision: 2760

Modified:
   trunk/build.xml

Log:
Dist-clean target is more thorough in deleting the entire dist folder. This helps cleaning up old dists easier in the automated builds.

Modified: trunk/build.xml
==============================================================================
--- trunk/build.xml     (original)
+++ trunk/build.xml     Wed Oct  8 09:09:08 2008
@@ -26,6 +26,8 @@
             get added to the architect.jar file. -->
        <property name="build" value="build"/>
        
+       <property name="dist.base" value="dist"/>
+       
        <!-- The target build directory for compiled test classes.
The contents of this directory will get excluded form the architect.jar. -->
        <property name="build.tests" value="${build}/tests"/>
@@ -179,7 +181,7 @@
                </condition>

                <echo message="Building Architect version: ${app.version}"/>
-               <property name="dist.dir" 
value="dist/architect-${app.version}"/>
+               <property name="dist.dir" 
value="${dist.base}/architect-${app.version}"/>
                <mkdir dir="${dist.dir}"/>
                <!-- The directory where junit HTML reports are generated.
                         Other report files could eventually be placed here too. 
-->
@@ -678,7 +680,7 @@
        </target>

        <target name="dist-clean" depends="clean">
-               <delete dir="${dist.dir}" />
+               <delete dir="${dist.base}" />
        </target>

        <path id="compile.classpath">

Reply via email to