HBASE-2577 Remove 'core' maven module; move core up a level hbase-issues
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@946736 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3d5c3a66b3
commit
897e903d90
|
@ -37,12 +37,12 @@ include Java
|
|||
# Some goodies for hirb. Should these be left up to the user's discretion?
|
||||
require 'irb/completion'
|
||||
|
||||
# Add the $HBASE_HOME/lib/ruby OR $HBASE_HOME/core/src/main/ruby/lib directory
|
||||
# Add the $HBASE_HOME/lib/ruby OR $HBASE_HOME/src/main/ruby/lib directory
|
||||
# to the ruby load path so I can load up my HBase ruby modules
|
||||
if File.exists?(File.join(File.dirname(__FILE__), "..", "lib", "ruby", "hbase.rb"))
|
||||
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), "..", "lib", "ruby")
|
||||
else
|
||||
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), "..", "core", "src", "main", "ruby")
|
||||
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), "..", "src", "main", "ruby")
|
||||
end
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue