hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r1422179 - /hadoop/common/branches/branch-1.1/build.xml
Date Sat, 15 Dec 2012 03:18:46 GMT
Author: llu
Date: Sat Dec 15 03:18:45 2012
New Revision: 1422179

URL: http://svn.apache.org/viewvc?rev=1422179&view=rev
Log:
HADOOP-9051 Fix ant clean/test with circular symlinks in build dir. (llu)

Modified:
    hadoop/common/branches/branch-1.1/build.xml

Modified: hadoop/common/branches/branch-1.1/build.xml
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1.1/build.xml?rev=1422179&r1=1422178&r2=1422179&view=diff
==============================================================================
--- hadoop/common/branches/branch-1.1/build.xml (original)
+++ hadoop/common/branches/branch-1.1/build.xml Sat Dec 15 03:18:45 2012
@@ -1047,7 +1047,7 @@
       <delete file="${test.build.dir}/testsfailed"/>
       <delete dir="@{test.dir}/data" />
       <mkdir dir="@{test.dir}/data" />
-      <delete dir="@{test.dir}/logs" />
+      <delete dir="@{test.dir}/logs" followSymlinks="false"/>
       <mkdir dir="@{test.dir}/logs" />
       <copy file="${test.src.dir}/hadoop-policy.xml"
             todir="@{test.dir}/extraconf" />
@@ -1964,7 +1964,7 @@
   <!-- Clean.  Delete the build files, and their directories              -->
   <!-- ================================================================== -->
   <target name="clean" depends="clean-contrib, clean-sign, clean-fi" description="Clean.
 Delete the build files, and their directories">
-    <delete dir="${build.dir}"/>
+    <delete dir="${build.dir}" followSymlinks="false"/>
     <delete dir="${docs.src}/build"/>
     <delete dir="${src.docs.cn}/build"/>
     <delete dir="${package.buildroot}"/>



Mime
View raw message