hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r588699 - in /lucene/hadoop/trunk/src/contrib/hbase: CHANGES.txt build.xml
Date Fri, 26 Oct 2007 16:16:55 GMT
Author: stack
Date: Fri Oct 26 09:16:53 2007
New Revision: 588699

URL: http://svn.apache.org/viewvc?rev=588699&view=rev
Log:
HADOOP-2088 Make hbase runnable in $HADOOP_HOME/build(/contrib/hbase)

Modified:
    lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt
    lucene/hadoop/trunk/src/contrib/hbase/build.xml

Modified: lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt?rev=588699&r1=588698&r2=588699&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt (original)
+++ lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt Fri Oct 26 09:16:53 2007
@@ -20,6 +20,7 @@
   IMPROVEMENTS
     HADOOP-2401 Add convenience put method that takes writable
                 (Johan Oskarsson via Stack)
+    HADOOP-2088 Make hbase runnable in $HADOOP_HOME/build(/contrib/hbase)
 
 Branch 0.15 (unreleased changes)
 

Modified: lucene/hadoop/trunk/src/contrib/hbase/build.xml
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/contrib/hbase/build.xml?rev=588699&r1=588698&r2=588699&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/contrib/hbase/build.xml (original)
+++ lucene/hadoop/trunk/src/contrib/hbase/build.xml Fri Oct 26 09:16:53 2007
@@ -27,6 +27,9 @@
   <import file="../build-contrib.xml"/>
 
   <property name="build.webapps" value="${build.dir}/webapps"/>
+  <property name="build.lib" value="${build.dir}/lib"/>
+  <property name="build.conf" value="${build.dir}/conf"/>
+  <property name="build.bin" value="${build.dir}/bin"/>
   <property name="src.webapps" value="${basedir}/src/webapps" />
 
   <target name="init">
@@ -47,6 +50,22 @@
         <exclude name="**/*~" />
       </fileset>
     </copy>
+    <!--Copy bin, lib, and conf. too-->
+    <mkdir dir="${build.lib}"/>
+    <copy todir="${build.lib}">
+      <fileset dir="${basedir}/lib" />
+    </copy>
+    <mkdir dir="${build.conf}"/>
+    <copy todir="${build.conf}">
+      <fileset dir="${basedir}/conf" />
+    </copy>
+    <mkdir dir="${build.bin}"/>
+    <copy todir="${build.bin}">
+      <fileset dir="${basedir}/bin" />
+    </copy>
+    <chmod perm="ugo+x" type="file">
+      <fileset dir="${build.bin}" />
+    </chmod>
   </target>
 
   <target name="javacc" if="javacc.home">



Mime
View raw message