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:09 UTC
svn commit: r1305585 - /lucene/dev/branches/branch_3x/solr/common-build.xml
Author: rmuir
Date: Mon Mar 26 20:59:08 2012
New Revision: 1305585
URL: http://svn.apache.org/viewvc?rev=1305585&view=rev
Log:
SOLR-3268: use sync for more safety
Modified:
lucene/dev/branches/branch_3x/solr/common-build.xml
Modified: lucene/dev/branches/branch_3x/solr/common-build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/common-build.xml?rev=1305585&r1=1305584&r2=1305585&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/solr/common-build.xml (original)
+++ lucene/dev/branches/branch_3x/solr/common-build.xml Mon Mar 26 20:59:08 2012
@@ -269,10 +269,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 -->