hadoop-hdfs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1133225 - in /hadoop/hdfs/trunk: CHANGES.txt build.xml
Date Wed, 08 Jun 2011 00:56:08 GMT
Author: eli
Date: Wed Jun  8 00:56:08 2011
New Revision: 1133225

URL: http://svn.apache.org/viewvc?rev=1133225&view=rev
Log:
HDFS-2040. Only build libhdfs if a flag is passed. Contributed by Eli Collins

Modified:
    hadoop/hdfs/trunk/CHANGES.txt
    hadoop/hdfs/trunk/build.xml

Modified: hadoop/hdfs/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/CHANGES.txt?rev=1133225&r1=1133224&r2=1133225&view=diff
==============================================================================
--- hadoop/hdfs/trunk/CHANGES.txt (original)
+++ hadoop/hdfs/trunk/CHANGES.txt Wed Jun  8 00:56:08 2011
@@ -488,6 +488,8 @@ Trunk (unreleased changes)
     HDFS-2029. In TestWriteRead, check visible length immediately after
     openning the file and fix code style.  (John George via szetszwo)
 
+    HDFS-2040. Only build libhdfs if a flag is passed. (eli)
+
   OPTIMIZATIONS
 
     HDFS-1458. Improve checkpoint performance by avoiding unnecessary image

Modified: hadoop/hdfs/trunk/build.xml
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/build.xml?rev=1133225&r1=1133224&r2=1133225&view=diff
==============================================================================
--- hadoop/hdfs/trunk/build.xml (original)
+++ hadoop/hdfs/trunk/build.xml Wed Jun  8 00:56:08 2011
@@ -326,10 +326,6 @@
 
   </target>
 
-  <target name="set-c++-libhdfs">
-    <property name="libhdfs" value="true"/>
-  </target>
-
   <import file="${test.src.dir}/aop/build/aop.xml"/>
 
   <target name="compile-hdfs-classes" depends="init">
@@ -1102,7 +1098,7 @@
     </macro_tar>
   </target>
 
-  <target name="bin-package" depends="set-c++-libhdfs, compile, compile-c++-libhdfs, jar,
jar-test, ant-tasks, jsvc" 
+  <target name="bin-package" depends="compile, compile-c++-libhdfs, jar, jar-test, ant-tasks,
jsvc" 
 		description="assembles artifacts for binary target">
     <mkdir dir="${dist.dir}"/>
     <mkdir dir="${dist.dir}/lib"/>
@@ -1118,7 +1114,7 @@
     </copy>
 
     <copy todir="${dist.dir}/lib" includeEmptyDirs="false">
-      <fileset dir="${build.dir}/c++/${build.platform}/lib">
+      <fileset dir="${build.dir}/c++/${build.platform}/lib" erroronmissingdir="false">
         <include name="**"/>
       </fileset>
     </copy>



Mime
View raw message