Kaynağa Gözat

HDFS-1299. 'compile-fault-inject' never should be called directly. Contributed by Konstantin Boudnik

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hdfs/trunk@964123 13f79535-47bb-0310-9956-ffa450edef68
Konstantin Boudnik 15 yıl önce
ebeveyn
işleme
9f07f1a78e
2 değiştirilmiş dosya ile 4 ekleme ve 2 silme
  1. 2 0
      CHANGES.txt
  2. 2 2
      src/test/aop/build/aop.xml

+ 2 - 0
CHANGES.txt

@@ -670,6 +670,8 @@ Release 0.21.0 - Unreleased
 
   BUG FIXES
 
+    HDFS-1299. 'compile-fault-inject' never should be called directly. (cos)
+
     HDFS-1193. -mvn-system-deploy target is broken which inturn fails the
     mvn-deploy task leading to unstable mapreduce build (Giridharan
     Kesavan via cos)

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

@@ -63,7 +63,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">
@@ -198,7 +198,7 @@
     <attribute name="src.dir" />
     <attribute name="aspects.jar"/>
     <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}" />