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

Commit

Permalink
Merge pull request #870 from grtjn/822-mlcp-props-in-args
Browse files Browse the repository at this point in the history
Fixed #822: added prop replace on mlcp args
  • Loading branch information
grtjn committed Jan 10, 2018
2 parents 93ce5f1 + 0c6ebae commit aaa8fd1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/lib/server_config.rb
Expand Up @@ -1639,6 +1639,9 @@ def mlcp

args = ARGV.join(" ")

# substitute properties in command-line arguments as well
replace_properties(args, "command-line arguments")

runme = %Q{java -cp "#{classpath}" #{vmargs} com.marklogic.contentpump.ContentPump #{args} #{connection_string}}
else
runme = %Q{java -cp "#{classpath}" #{vmargs} com.marklogic.contentpump.ContentPump}
Expand Down

0 comments on commit aaa8fd1

Please sign in to comment.