Переглянути джерело

HADOOP-6860. 'compile-fault-inject' should never be called directly. Contributed by Konstantin Boudnik.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@964939 13f79535-47bb-0310-9956-ffa450edef68
Konstantin Boudnik 15 роки тому
батько
коміт
44c364d632
2 змінених файлів з 5 додано та 2 видалено
  1. 3 0
      CHANGES.txt
  2. 2 2
      src/test/aop/build/aop.xml

+ 3 - 0
CHANGES.txt

@@ -1038,6 +1038,9 @@ Release 0.21.0 - Unreleased
 
   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}" />