Browse Source

HADOOP-5251. Fix classpath for contrib unit tests to include clover jar. Contributed by nigel

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@744406 13f79535-47bb-0310-9956-ffa450edef68
Nigel Daley 16 năm trước cách đây
mục cha
commit
9868e0d658
4 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 3 0
      CHANGES.txt
  2. 1 0
      build.xml
  3. 1 0
      src/contrib/build-contrib.xml
  4. 1 0
      src/contrib/chukwa/build.xml

+ 3 - 0
CHANGES.txt

@@ -175,6 +175,9 @@ Trunk (unreleased changes)
     HADOOP-5253. Remove duplicate call to cn-docs target. 
     (Giri Kesavan via nigel)
 
+    HADOOP-5251. Fix classpath for contrib unit tests to include clover jar.
+    (nigel)
+
 Release 0.20.0 - Unreleased
 
   INCOMPATIBLE CHANGES

+ 1 - 0
build.xml

@@ -771,6 +771,7 @@
   <target name="test-contrib" depends="compile, compile-core-test" description="Run contrib unit tests">
     <subant target="test">
        <property name="version" value="${version}"/>
+       <property name="clover.jar" value="${clover.jar}"/>
        <fileset file="${contrib.dir}/build.xml"/>
     </subant> 
   </target>

+ 1 - 0
src/contrib/build-contrib.xml

@@ -86,6 +86,7 @@
       <include name="**/*.jar" />
     </fileset>
     <path refid="${ant.project.name}.common-classpath"/>
+    <pathelement path="${clover.jar}"/>
   </path>
 
   <!-- the unit test classpath -->

+ 1 - 0
src/contrib/chukwa/build.xml

@@ -205,6 +205,7 @@
                         </fileset>
                         <pathelement location="${hadoop.root}/build/classes"/>
                         <pathelement location="${hadoop.root}/build/test/classes"/>
+                        <pathelement location="${clover.jar}"/>
                 </path>
 
                 <path id="testDemuxClasspath">