hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yhema...@apache.org
Subject svn commit: r643748 - in /hadoop/core/trunk/src/contrib/hod: CHANGES.txt build.xml
Date Wed, 02 Apr 2008 05:35:45 GMT
Author: yhemanth
Date: Tue Apr  1 22:35:44 2008
New Revision: 643748

URL: http://svn.apache.org/viewvc?rev=643748&view=rev
Log:
HADOOP-3137. Modified build script to pick up version automatically from Hadoop build. Contributed
by Hemanth Yamijala.

Modified:
    hadoop/core/trunk/src/contrib/hod/CHANGES.txt
    hadoop/core/trunk/src/contrib/hod/build.xml

Modified: hadoop/core/trunk/src/contrib/hod/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/hod/CHANGES.txt?rev=643748&r1=643747&r2=643748&view=diff
==============================================================================
--- hadoop/core/trunk/src/contrib/hod/CHANGES.txt (original)
+++ hadoop/core/trunk/src/contrib/hod/CHANGES.txt Tue Apr  1 22:35:44 2008
@@ -3,6 +3,11 @@
 
 Trunk (unreleased changes)
 
+  INCOMPATIBLE CHANGES
+
+    HADOOP-3137. Modified build script to pick up version automatically
+    from Hadoop build. (yhemanth)
+
   IMPROVEMENTS
 
     HADOOP-2775.  Adds unit test framework for HOD.

Modified: hadoop/core/trunk/src/contrib/hod/build.xml
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/hod/build.xml?rev=643748&r1=643747&r2=643748&view=diff
==============================================================================
--- hadoop/core/trunk/src/contrib/hod/build.xml (original)
+++ hadoop/core/trunk/src/contrib/hod/build.xml Tue Apr  1 22:35:44 2008
@@ -22,8 +22,13 @@
     <target name="compile">
         <mkdir dir="${build.dir}"/>
         <copy todir="${build.dir}">
-            <fileset dir="${basedir}"/>
+            <fileset dir="${basedir}">
+                <exclude name="**/VERSION"/>
+            </fileset>
         </copy>
+        <exec executable="echo" output="${build.dir}/bin/VERSION">
+            <arg line="${version}" />
+        </exec>
     </target>
     <target name="package" depends="compile">
         <mkdir dir="${dist.dir}/contrib/${name}"/>



Mime
View raw message