浏览代码

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 年之前
父节点
当前提交
9f07f1a78e
共有 2 个文件被更改,包括 4 次插入2 次删除
  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
   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
     HDFS-1193. -mvn-system-deploy target is broken which inturn fails the
     mvn-deploy task leading to unstable mapreduce build (Giridharan
     mvn-deploy task leading to unstable mapreduce build (Giridharan
     Kesavan via cos)
     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
   <!-- Target -classes-compilation has to be defined in build.xml and
   needs to depend on classes compilation and test classes compilation
   needs to depend on classes compilation and test classes compilation
   targets. This is a poor man parametrization for targets -->
   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 -->
     <!-- AspectJ task definition -->
     <taskdef
     <taskdef
       resource="org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties">
       resource="org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties">
@@ -198,7 +198,7 @@
     <attribute name="src.dir" />
     <attribute name="src.dir" />
     <attribute name="aspects.jar"/>
     <attribute name="aspects.jar"/>
     <sequential>
     <sequential>
-      <subant buildpath="build.xml" target="compile-fault-inject"
+      <subant buildpath="build.xml" target="-compile-fault-inject"
         output="${compile-inject.output}">
         output="${compile-inject.output}">
         <property name="build.dir" value="${build-fi.dir}" />
         <property name="build.dir" value="${build-fi.dir}" />
         <property name="src.dir.path" value="@{src.dir}" />
         <property name="src.dir.path" value="@{src.dir}" />