From 1e35c98af35777efa025cce015b1e3372d9bf19c Mon Sep 17 00:00:00 2001 From: Nick Dimiduk Date: Fri, 1 Mar 2013 12:18:19 -0800 Subject: [PATCH] HBASE-7971 fix cached_classpath.txt dev sandbox Generate cached_classpath.txt on the compile phase as before and leave it in hbase-it/target. Update bin/hbase to look in this new location. --- bin/hbase | 2 +- hbase-it/pom.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/hbase b/bin/hbase index fc0ce59..41a6ab9 100755 --- a/bin/hbase +++ b/bin/hbase @@ -143,7 +143,7 @@ add_maven_deps_to_classpath() { # Need to generate classpath from maven pom. This is costly so generate it # and cache it. Save the file into our target dir so a mvn clean will get # clean it up and force us create a new one. - f="${HBASE_HOME}/target/cached_classpath.txt" + f="${HBASE_HOME}/hbase-it/target/cached_classpath.txt" if [ ! -f "${f}" ] then echo "As this is a development environment, we need ${f} to be generated from maven (command: mvn compile)" diff --git a/hbase-it/pom.xml b/hbase-it/pom.xml index 15994a6..76dcc61 100644 --- a/hbase-it/pom.xml +++ b/hbase-it/pom.xml @@ -102,12 +102,12 @@ create-hbase-generated-classpath - test + compile build-classpath - ${project.build.directory}/../../target/cached_classpath.txt + ${project.build.directory}/cached_classpath.txt -- 1.8.1