You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2013/02/19 12:03:34 UTC

git commit: Core: Fixed sqlite loading problem on jRuby

Updated Branches:
  refs/heads/master ce3bad216 -> a1882b7c5


Core: Fixed sqlite loading problem on jRuby


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/a1882b7c
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/a1882b7c
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/a1882b7c

Branch: refs/heads/master
Commit: a1882b7c53901a6b77f75dc319ddc5e63d7a4328
Parents: ce3bad2
Author: Michal Fojtik <mf...@redhat.com>
Authored: Tue Feb 19 12:02:47 2013 +0100
Committer: Michal fojtik <mf...@redhat.com>
Committed: Tue Feb 19 12:02:47 2013 +0100

----------------------------------------------------------------------
 server/bin/deltacloud-db-upgrade |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/a1882b7c/server/bin/deltacloud-db-upgrade
----------------------------------------------------------------------
diff --git a/server/bin/deltacloud-db-upgrade b/server/bin/deltacloud-db-upgrade
index 1a3a7b4..f87af84 100755
--- a/server/bin/deltacloud-db-upgrade
+++ b/server/bin/deltacloud-db-upgrade
@@ -15,9 +15,10 @@
 # under the License.
 
 require 'rubygems'
-
 require 'require_relative' if RUBY_VERSION < '1.9'
 
+require 'jdbc/sqlite3' if RUBY_PLATFORM == 'java'
+
 # Do not exit
 ENV['DB_UPGRADE'] = 'true'