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)

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@683655 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2008-08-07 17:27:52 +00:00
parent 085ad9be8e
commit 495e372bd5
1 changed files with 3 additions and 0 deletions

View File

@ -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>