Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

don't trust Jetty to do the right thing when the example war is updated, purge the work directory explicitly (SOLR-677 is an example of the confusion this can cause otherwise)

Chris M. Hostetter495e372bd5de
diff --git a/build.xml b/build.xml
index 2c2de242966..8f3d6d7267c 100644
--- a/build.xml
+++ b/build.xml
@@ -590,6 +590,9 @@
</fileset>
</copy>
<chmod dir="${example}/solr/bin" perm="755" includes="**"/>
+ <delete includeemptydirs="true">
+ <fileset dir="${example}/work" includes="**/*"/>
+ </delete>
<echo>See ${example}/README.txt for how to run the Solr example configuration.</echo>
</target>