hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1102848 - in /hadoop/common/trunk: CHANGES.txt build.xml src/contrib/build-contrib.xml src/contrib/build.xml src/contrib/hod/ src/contrib/test/
Date Fri, 13 May 2011 18:18:46 GMT
Author: eli
Date: Fri May 13 18:18:45 2011
New Revision: 1102848

URL: http://svn.apache.org/viewvc?rev=1102848&view=rev
Log:
HADOOP-7137. Remove hod contrib. Contributed by Nigel Daley

Removed:
    hadoop/common/trunk/src/contrib/build-contrib.xml
    hadoop/common/trunk/src/contrib/build.xml
    hadoop/common/trunk/src/contrib/hod/
    hadoop/common/trunk/src/contrib/test/
Modified:
    hadoop/common/trunk/CHANGES.txt
    hadoop/common/trunk/build.xml

Modified: hadoop/common/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/CHANGES.txt?rev=1102848&r1=1102847&r2=1102848&view=diff
==============================================================================
--- hadoop/common/trunk/CHANGES.txt (original)
+++ hadoop/common/trunk/CHANGES.txt Fri May 13 18:18:45 2011
@@ -215,6 +215,8 @@ Release 0.22.0 - Unreleased
 
   INCOMPATIBLE CHANGES
 
+    HADOOP-7137. Remove hod contrib. (nigel via eli)
+
   NEW FEATURES
 
     HADOOP-6791.  Refresh for proxy superuser config

Modified: hadoop/common/trunk/build.xml
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/build.xml?rev=1102848&r1=1102847&r2=1102848&view=diff
==============================================================================
--- hadoop/common/trunk/build.xml (original)
+++ hadoop/common/trunk/build.xml Fri May 13 18:18:45 2011
@@ -39,7 +39,6 @@
 
   <property name="lib.dir" value="${basedir}/lib"/>
   <property name="conf.dir" value="${basedir}/conf"/>
-  <property name="contrib.dir" value="${basedir}/src/contrib"/>
   <property name="docs.src" value="${basedir}/src/docs"/>
   <property name="src.docs.cn" value="${basedir}/src/docs/cn"/>
   <property name="changes.src" value="${docs.src}/changes"/>
@@ -272,7 +271,6 @@
     <tempfile property="touch.temp.file" destDir="${java.io.tmpdir}"/>
     <touch millis="0" file="${touch.temp.file}">
       <fileset dir="${conf.dir}" includes="**/*.template"/>
-      <fileset dir="${contrib.dir}" includes="**/*.template"/>
     </touch>
     <delete file="${touch.temp.file}"/>
     <!-- copy all of the jsp and static files -->
@@ -294,11 +292,6 @@
       <mapper type="glob" from="*.template" to="*"/>
     </copy>
 
-    <copy todir="${contrib.dir}" verbose="true">
-      <fileset dir="${contrib.dir}" includes="**/*.template"/>
-      <mapper type="glob" from="*.template" to="*"/>
-    </copy>
-
     <exec executable="sh">
        <arg line="src/saveVersion.sh ${version} ${build.dir}"/>
     </exec>
@@ -467,14 +460,7 @@
   	description="Compile core only">
   </target>
 
-  <target name="compile-contrib" depends="compile-core">
-     <subant target="compile">
-        <property name="version" value="${version}"/>
-        <fileset file="${contrib.dir}/build.xml"/>
-     </subant>  	
-  </target>
-  
-  <target name="compile" depends="compile-core, compile-contrib" description="Compile
core, contrib">
+  <target name="compile" depends="compile-core" description="Compile core">
   </target>
 
   <!-- ================================================================== -->
@@ -821,14 +807,6 @@
     <fail unless="continueOnFailure">Tests failed!</fail>
   </target>
 
-  <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>
-
   <target name="test-core" description="Run core unit tests">
     <delete file="${test.build.dir}/testsfailed"/> 
     <property name="continueOnFailure" value="true"/> 
@@ -838,11 +816,7 @@
     <fail if="testsfailed">Tests failed!</fail> 
   </target>
 
-  <target name="test" depends="jar-test,test-core" description="Run all unit tests">
-    <subant target="test-contrib">	 
-      <fileset dir="." includes="build.xml"/>
-    </subant>
-  </target>
+  <target name="test" depends="jar-test,test-core" description="Run all unit tests"/>
 
   <!-- Run all unit tests, not just Test*, and use non-test configuration. -->
   <target name="test-cluster" description="Run all unit tests, not just Test*, and use
non-test configuration.">
@@ -980,9 +954,6 @@
 
         <classpath >
           <path refid="classpath" />
-          <fileset dir="src/contrib/">
-            <include name="*/lib/*.jar" />
-          </fileset>
           <path refid="javadoc-classpath"/>
           <pathelement path="${java.class.path}"/>
           <pathelement location="${build.tools}"/>
@@ -1023,9 +994,6 @@
 
         <classpath >
           <path refid="classpath" />
-          <fileset dir="src/contrib/">
-            <include name="*/lib/*.jar" />
-          </fileset>
           <path refid="javadoc-classpath"/>
           <pathelement path="${java.class.path}"/>
           <pathelement location="${build.tools}"/>
@@ -1105,7 +1073,6 @@
 	  description="Build distribution">
     <mkdir dir="${dist.dir}"/>
     <mkdir dir="${dist.dir}/lib"/>
-    <mkdir dir="${dist.dir}/contrib"/>
     <mkdir dir="${dist.dir}/bin"/>
     <mkdir dir="${dist.dir}/docs"/>
     <mkdir dir="${dist.dir}/docs/api"/>
@@ -1128,14 +1095,6 @@
 	  <arg line="${native.src.dir}/packageNativeHadoop.sh"/>
     </exec>
 
-    <subant target="package">
-      <!--Pass down the version in case its needed again and the target
-      distribution directory so contribs know where to install to.-->
-      <property name="version" value="${version}"/>
-      <property name="dist.dir" value="${dist.dir}"/>
-      <fileset file="${contrib.dir}/build.xml"/>
-    </subant>  	
-
     <copy todir="${dist.dir}/webapps">
       <fileset dir="${build.webapps}"/>
     </copy>
@@ -1178,9 +1137,6 @@
     <chmod perm="ugo+x" file="${dist.dir}/src/native/configure"/>
     <chmod perm="ugo+x" type="file" parallel="false">
         <fileset dir="${dist.dir}/bin"/>
-        <fileset dir="${dist.dir}/src/contrib/">
-          <include name="*/bin/*" />
-        </fileset>
     </chmod>
 
   </target>
@@ -1193,13 +1149,11 @@
       <param.listofitems>
         <tarfileset dir="${build.dir}" mode="664">
           <exclude name="${final.name}/bin/*" />
-          <exclude name="${final.name}/contrib/*/bin/*" />
           <exclude name="${final.name}/src/native/configure" />
           <include name="${final.name}/**" />
         </tarfileset>
         <tarfileset dir="${build.dir}" mode="755">
           <include name="${final.name}/bin/*" />
-          <include name="${final.name}/contrib/*/bin/*" />
           <include name="${final.name}/src/native/configure" />
         </tarfileset>
       </param.listofitems>
@@ -1210,7 +1164,6 @@
 		description="assembles artifacts for binary target">
     <mkdir dir="${dist.dir}"/>
     <mkdir dir="${dist.dir}/lib"/>
-    <mkdir dir="${dist.dir}/contrib"/>
     <mkdir dir="${dist.dir}/bin"/>
 
     <copy todir="${dist.dir}/lib" includeEmptyDirs="false" flatten="true">
@@ -1230,14 +1183,6 @@
 	  <arg line="${native.src.dir}/packageNativeHadoop.sh"/>
     </exec>
 
-    <subant target="package">
-      <!--Pass down the version in case its needed again and the target
-      distribution directory so contribs know where to install to.-->
-      <property name="version" value="${version}"/>
-      <property name="dist.dir" value="${dist.dir}"/>
-      <fileset file="${contrib.dir}/build.xml"/>
-    </subant>  	
-
     <copy todir="${dist.dir}"> 
       <fileset file="${build.dir}/${final.name}.jar"/>
     </copy>
@@ -1473,7 +1418,7 @@
   <!-- ================================================================== -->
   <!-- Clean.  Delete the build files, and their directories              -->
   <!-- ================================================================== -->
-  <target name="clean" depends="clean-contrib, clean-sign, clean-fi" description="Clean.
 Delete the build files, and their directories">
+  <target name="clean" depends="clean-sign, clean-fi" description="Clean.  Delete the
build files, and their directories">
     <delete dir="${build.dir}"/>
     <delete file="${basedir}/ivy/hadoop-common.xml"/>
     <delete file="${basedir}/ivy/hadoop-common-pom.xml"/>
@@ -1495,16 +1440,6 @@
     <delete file="${ivy.jar}"/>
   </target>
 
-  <!-- ================================================================== -->
-  <!-- Clean contrib target. For now, must be called explicitly           -->
-  <!-- Using subant instead of ant as a workaround for 30569              -->
-  <!-- ================================================================== -->
-  <target name="clean-contrib">
-     <subant target="clean">        
-        <fileset file="src/contrib/build.xml"/>
-     </subant>  	
-  </target>
-	
  <target name="clover" depends="clover.setup, clover.info" description="Instrument the
Unit tests using Clover. 
      To use, specify -Dclover.home=&lt;base of clover installation&gt; -Drun.clover=true
on the command line."/>
 



Mime
View raw message