From a2a909f252e250197cdd59974c039a70ef516942 Mon Sep 17 00:00:00 2001 From: Elliott Clark Date: Mon, 21 Jan 2013 13:07:58 -0800 Subject: [PATCH] Fix bin/hbase for dev when building for hadoop2 --- bin/hbase | 20 -------------------- hbase-it/pom.xml | 2 +- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git bin/hbase bin/hbase index 49c9d28..fc0ce59 100755 --- bin/hbase +++ bin/hbase @@ -153,28 +153,8 @@ add_maven_deps_to_classpath() { } -add_maven_main_classes_to_classpath() { - # assumes all modules are named hbase-* in the top level directory - IFS=$ORIG_IFS - for module in `ls $HBASE_HOME | grep 'hbase-*'` - do - add_to_cp_if_exists "$HBASE_HOME/$module/target/classes" - done -} - -add_maven_test_classes_to_classpath(){ - # assumes all modules are named hbase-* in the top level directory - IFS=$ORIG_IFS - for module in `ls $HBASE_HOME | grep 'hbase-*'` - do - add_to_cp_if_exists "$HBASE_HOME/$module/target/test-classes" - done -} - #Add the development env class path stuff if $in_dev_env; then - add_maven_main_classes_to_classpath - add_maven_test_classes_to_classpath add_maven_deps_to_classpath fi diff --git hbase-it/pom.xml hbase-it/pom.xml index 3c643dd..1fa1279 100644 --- hbase-it/pom.xml +++ hbase-it/pom.xml @@ -102,7 +102,7 @@ create-hbase-generated-classpath - compile + test build-classpath -- 1.7.10.2 (Apple Git-33)