You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2010/09/14 21:37:32 UTC
[jira] Commented: (HBASE-2290) in trunk, can't run bin/hbase
CLASSNAME (broken by move to maven)
[ https://issues.apache.org/jira/browse/HBASE-2290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909405#action_12909405 ]
stack commented on HBASE-2290:
------------------------------
Are you talking of something different from this from bin/hbase Lars?
{code}
add_maven_deps_to_classpath() {
# The maven build dir is called 'target'
target="${HBASE_HOME}/target"
if [ ! -d "${HBASE_HOME}/target" ]
then
mkdir "${target}"
fi
# 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="${target}/cached_classpath.txt"
if [ ! -f "${f}" ]
then
${MVN} -f "${HBASE_HOME}/pom.xml" dependency:build-classpath -Dmdep.outputFile="${f}" &> /dev/null
fi
CLASSPATH=${CLASSPATH}:`cat "${f}"`
}
{code}
> in trunk, can't run bin/hbase CLASSNAME (broken by move to maven)
> -----------------------------------------------------------------
>
> Key: HBASE-2290
> URL: https://issues.apache.org/jira/browse/HBASE-2290
> Project: HBase
> Issue Type: Bug
> Components: build
> Reporter: stack
>
> We need to add maven made jars to bin/hbase CLASSPATH
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.