lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwe...@apache.org
Subject svn commit: r1236178 - /lucene/dev/trunk/solr/build.xml
Date Thu, 26 Jan 2012 13:56:50 GMT
Author: dweiss
Date: Thu Jan 26 13:56:50 2012
New Revision: 1236178

URL: http://svn.apache.org/viewvc?rev=1236178&view=rev
Log:
Fixed 'ant clean' failing if a directory didn't exist. Replaced with an include pattern.

Modified:
    lucene/dev/trunk/solr/build.xml

Modified: lucene/dev/trunk/solr/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/build.xml?rev=1236178&r1=1236177&r2=1236178&view=diff
==============================================================================
--- lucene/dev/trunk/solr/build.xml (original)
+++ lucene/dev/trunk/solr/build.xml Thu Jan 26 13:56:50 2012
@@ -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" />



Mime
View raw message