diff --git a/deploy/lib/server_config.rb b/deploy/lib/server_config.rb index 6090ea4b..9733cdb9 100644 --- a/deploy/lib/server_config.rb +++ b/deploy/lib/server_config.rb @@ -94,7 +94,7 @@ def get_properties def info logger.info "Properties:" - @properties.each do |k, v| + @properties.sort {|x,y| y <=> x}.each do |k, v| logger.info k + ": " + v end end @@ -1365,7 +1365,10 @@ def build_config(config_file) else config.gsub!("@ml.rewrite-resolves-globally", "") end - @properties.each do |k, v| + # @properties.each do |k, v| + # config.gsub!("@#{k}", v) + # end + @properties.sort {|x,y| y <=> x}.each do |k, v| config.gsub!("@#{k}", v) end