Delete tar and zip file if they exist before attempting to build them again.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@686016 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2008-08-14 20:09:22 +00:00
parent 8d4815420f
commit a2fa5bf4d5
1 changed files with 3 additions and 0 deletions

View File

@ -642,6 +642,9 @@
<fileset dir="site" />
</copy>
<delete file="${dist}/${fullnamever}.tgz" failonerror="false" />
<delete file="${dist}/${fullnamever}.zip" failonerror="false" />
<tar destfile="${dist}/${fullnamever}.tgz" compression="gzip">
<tarfileset dir="."
prefix="${fullnamever}"