瀏覽代碼

HADOOP-6200 changes on a test branch

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hdfs/branches/HDFS-326@809043 13f79535-47bb-0310-9956-ffa450edef68
Steve Loughran 15 年之前
父節點
當前提交
fb327f685b
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      build.xml

+ 2 - 1
build.xml

@@ -558,7 +558,8 @@
     </jar>
     </jar>
   </target>
   </target>
 
 
-  <target name="jar-hdfswithmr-test" depends="compile-hdfs-with-mr-test" description="Make hadoop-hdfswithmr-test.jar"> 
+  <target name="jar-hdfswithmr-test" depends="compile-hdfs-with-mr-test" description="Make hadoop-hdfswithmr-test.jar"
+      if="hadoop-mapred.jar.exists"> 
     <copy todir="${test.build.classes}">
     <copy todir="${test.build.classes}">
       <fileset dir="${test.hdfs.with.mr.build.classes}"/>
       <fileset dir="${test.hdfs.with.mr.build.classes}"/>
     </copy>
     </copy>