Author: jaikiran
Date: Thu Oct 24 11:32:56 2019
New Revision: 1868872

URL: http://svn.apache.org/viewvc?rev=1868872&view=rev
Log:
Cleanup the work directory before generating the documentation

Modified:
    ant/site/ivy/build.xml

Modified: ant/site/ivy/build.xml
URL: 
http://svn.apache.org/viewvc/ant/site/ivy/build.xml?rev=1868872&r1=1868871&r2=1868872&view=diff
==============================================================================
--- ant/site/ivy/build.xml (original)
+++ ant/site/ivy/build.xml Thu Oct 24 11:32:56 2019
@@ -84,6 +84,7 @@
 
     <target name="download-doc" unless="ivydoc.dir">
         <fail message="Required location of the binary distribution of Ivy to 
be downloaded, via the property 'ivy-dist.zip.url'" unless="ivy-dist.zip.url" />
+        <delete dir="${work.dir}/ivydist/dist" failonerror="false" />
         <mkdir dir="${work.dir}/ivydist/dist" />
         <get src="${ivy-dist.zip.url}" 
dest="${work.dir}/ivydist/apache-ivy-bin.zip" />
         <unzip src="${work.dir}/ivydist/apache-ivy-bin.zip" 
dest="${work.dir}/ivydist/dist" />


Reply via email to