Fixed 'ant clean' failing if a directory didn't exist. Replaced with an include pattern.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236178 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dawid Weiss 2012-01-26 13:56:50 +00:00
parent 5644c6aa18
commit 2c3fa2e3db
1 changed files with 6 additions and 3 deletions

View File

@ -184,9 +184,12 @@
<delete dir="package" />
<delete dir="example/solr/lib" />
<delete includeemptydirs="true">
<fileset dir="example" includes="**/data/**/*" excludes="**/.gitignore" />
<fileset dir="example/webapps" includes="**/*" excludes="**/.gitignore" />
<fileset dir="example/work" includes="**/*" excludes="**/.gitignore" />
<fileset dir="example">
<include name="example/**/data/**/*" />
<include name="example/webapps/**/*" />
<include name="example/work/**/*" />
<exclude name="**/.gitignore" />
</fileset>
</delete>
<echo message="TODO: fix tests to not write files to 'core/src/test-files/solr/data'!" />
<delete dir="core/src/test-files/solr/data" />