hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-2290) in trunk, can't run bin/hbase CLASSNAME (broken by move to maven)
Date Tue, 14 Sep 2010 19:37:32 GMT

    [ 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.


Mime
View raw message