You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2012/03/26 22:59:42 UTC

svn commit: r1305587 - in /lucene/dev/trunk: ./ solr/ solr/common-build.xml

Author: rmuir
Date: Mon Mar 26 20:59:42 2012
New Revision: 1305587

URL: http://svn.apache.org/viewvc?rev=1305587&view=rev
Log:
SOLR-3268: use sync for more safety

Modified:
    lucene/dev/trunk/   (props changed)
    lucene/dev/trunk/solr/   (props changed)
    lucene/dev/trunk/solr/common-build.xml

Modified: lucene/dev/trunk/solr/common-build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/common-build.xml?rev=1305587&r1=1305586&r2=1305587&view=diff
==============================================================================
--- lucene/dev/trunk/solr/common-build.xml (original)
+++ lucene/dev/trunk/solr/common-build.xml Mon Mar 26 20:59:42 2012
@@ -281,10 +281,13 @@
     </ant>
   </target>
 
+  <!-- TODO: really a copy should work: but sync is currently safer
+       since some buggy tests don't create their own tempdir but
+       modify this target directory directly... -->
   <target name="sync-resources">
-    <copy todir="${build.dir}/test-files">
+    <sync todir="${build.dir}/test-files">
       <fileset dir="${tests.userdir}"/>
-    </copy>
+    </sync>
   </target>
 
   <!-- Solr test-framework targets -->