瀏覽代碼

HADOOP-6860. svn merge -c 964939 from trunk

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.21@964941 13f79535-47bb-0310-9956-ffa450edef68
Konstantin Boudnik 15 年之前
父節點
當前提交
d9406b9374
共有 2 個文件被更改,包括 5 次插入2 次删除
  1. 3 0
      CHANGES.txt
  2. 2 2
      src/test/aop/build/aop.xml

+ 3 - 0
CHANGES.txt

@@ -908,6 +908,9 @@ Release 0.21.0 - 2010-07-01
 
   BUG FIXES
 
+    HADOOP-6860. 'compile-fault-inject' should never be called directly.
+    (Konstantin Boudnik)
+
     HADOOP-6836. [Herriot]: Generic method for adding/modifying the attributes
     for new configuration. (Vinay Thota via cos)
 

+ 2 - 2
src/test/aop/build/aop.xml

@@ -50,7 +50,7 @@
   <!-- Target -classes-compilation has to be defined in build.xml and
   needs to depend on classes compilation and test classes compilation
   targets. This is a poor man parametrization for targets -->
-  <target name="compile-fault-inject" depends="-classes-compilation" >
+  <target name="-compile-fault-inject" depends="-classes-compilation" >
     <!-- AspectJ task definition -->
     <taskdef
       resource="org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties">
@@ -143,7 +143,7 @@
     <attribute name="dest.dir" />
     <attribute name="src.dir" />
     <sequential>
-      <subant buildpath="build.xml" target="compile-fault-inject"
+      <subant buildpath="build.xml" target="-compile-fault-inject"
         output="${compile-inject.output}">
         <property name="build.dir" value="${build-fi.dir}" />
         <property name="src.dir.path" value="@{src.dir}" />