Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

added a clean target for use when running Clover on Hudson. Only cleans dest, not dist

Grant Ingersoll9f789c6514bc
diff --git a/build.xml b/build.xml
index 2f9a04a982f..5d492187232 100644
--- a/build.xml
+++ b/build.xml
@@ -194,6 +194,11 @@
<delete dir="${dist}" />
</target>
+ <target name="clean-dest"
+ description="Cleans out ${dest} but leaves ${dist} alone. This allows us to run nightly and clover together in Hudson">
+ <delete dir="${dest}" />
+ </target>
+
<!-- Prepares an entity file for use in Forrest documentation -->
<target name="init-forrest-entities">
<!-- no description, don't advertise -->