HADOOP-2088 Make hbase runnable in $HADOOP_HOME/build(/contrib/hbase)

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@588699 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2007-10-26 16:16:53 +00:00
parent 1aeb23aeee
commit 00d4ab27f3
2 changed files with 20 additions and 0 deletions

View File

@ -20,6 +20,7 @@ Trunk (unreleased changes)
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)

View File

@ -27,6 +27,9 @@ to call at top-level: ant deploy-contrib compile-core-test
<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 @@ to call at top-level: ant deploy-contrib compile-core-test
<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">