diff --git a/deploy/lib/java/corb.jar b/deploy/lib/java/corb.jar new file mode 100644 index 00000000..b655b616 Binary files /dev/null and b/deploy/lib/java/corb.jar differ diff --git a/deploy/lib/server_config.rb b/deploy/lib/server_config.rb index b9b718cf..e2b342f4 100644 --- a/deploy/lib/server_config.rb +++ b/deploy/lib/server_config.rb @@ -581,7 +581,7 @@ def xqsync end def corb - connection_string = %Q{xcc://#{@properties['ml.app-name']}-user:#{@properties['ml.appuser-password']}@#{@properties['ml.server']}:#{@properties['ml.xcc-port']}/#{@properties['ml.content-db']}} + connection_string = %Q{xcc://#{@properties['ml.user']}:#{@properties['ml.password']}@#{@properties['ml.server']}:#{@properties['ml.xcc-port']}/#{@properties['ml.content-db']}} collection_name = find_arg(['--collection']) || '""' xquery_module = find_arg(['--modules']) uris_module = find_arg(['--uris']) || '""' @@ -596,7 +596,7 @@ def corb thread_count = thread_count.to_i module_root = find_arg(['--root']) || '"/"' modules_database = @properties['ml.modules-db'] - install = find_arg(['install']) == "true" + install = find_arg(['--install']) == "true" matches = Dir.glob(File.expand_path("../java/*xcc*.jar", __FILE__)) raise "Missing XCC Jar." if matches.length == 0 diff --git a/deploy/lib/util.rb b/deploy/lib/util.rb index f3844464..d0c9d20a 100644 --- a/deploy/lib/util.rb +++ b/deploy/lib/util.rb @@ -41,7 +41,7 @@ def pluralize(count, singular, plural = nil) end def is_windows? - (Config::CONFIG['host_os'] =~ /mswin|mingw/).nil? == false + (RbConfig::CONFIG['host_os'] =~ /mswin|mingw/).nil? == false end def path_separator