You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sc...@apache.org on 2005/06/22 01:01:10 UTC

svn commit: r191741 - /myfaces/trunk/build/bootstrap.xml

Author: schof
Date: Tue Jun 21 16:01:08 2005
New Revision: 191741

URL: http://svn.apache.org/viewcvs?rev=191741&view=rev
Log:
fixed problem where nightly build directory was not being deleted (so old nightlies were continuously reuploaded with new timestamp)

Modified:
    myfaces/trunk/build/bootstrap.xml

Modified: myfaces/trunk/build/bootstrap.xml
URL: http://svn.apache.org/viewcvs/myfaces/trunk/build/bootstrap.xml?rev=191741&r1=191740&r2=191741&view=diff
==============================================================================
--- myfaces/trunk/build/bootstrap.xml (original)
+++ myfaces/trunk/build/bootstrap.xml Tue Jun 21 16:01:08 2005
@@ -100,6 +100,9 @@
         </tstamp>
         <property name="release.version" value="${TODAY}"/>
         <property name="release.dir" value="${build.dir}/nightly/${TODAY}"/>
+
+        <delete dir="${release.dir}"/>
+        
         <echo message="build output directory: ${release.dir}"/>
         <mkdir dir="${release.dir}"/>
 
@@ -119,11 +122,14 @@
         <echo message="building release for ${project.name} ..." level="debug"/>
 
         <property name="release.dir" value="${build.dir}/release"/>
+
+        <delete dir="${release.dir}"/>
+
         <echo message="build output directory: ${release.dir}"/>
         <mkdir dir="${release.dir}"/>
 
         <!-- execute the build file that was just checked out -->
-        <ant dir="${build.dir}" target="release" inheritRefs="true"/>
+        <ant dir="${build.dir}" target="clean" inheritRefs="true"/>
 
         <!-- copy files to local release dir -->
         <copy todir="${release.dir}">