Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
#82 A couple of fixes to work Paxton did on this ticket some time ago.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcassel committed May 17, 2013
1 parent e339b59 commit e270289
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file added deploy/lib/java/corb.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions deploy/lib/server_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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']) || '""'
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion deploy/lib/util.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e270289

Please sign in to comment.