diff --git a/deploy/lib/server_config.rb b/deploy/lib/server_config.rb index 7f9931eb..6636e002 100644 --- a/deploy/lib/server_config.rb +++ b/deploy/lib/server_config.rb @@ -480,6 +480,7 @@ def xqsync def deploy_modules ignore_us = [] ignore_us = ["^#{@properties['ml.xquery-test.dir']}.*$"] if @properties['ml.xquery-test.dir'] + ignore_us << "^#{@properties['folders_to_ignore']}$" if @properties['folders_to_ignore'] app_config_file = "#{@properties['ml.xquery.dir']}/app/config/config.xqy" ignore_us << "^#{app_config_file}$" load_data @properties["ml.xquery.dir"], { @@ -937,4 +938,4 @@ def self.properties properties = ServerConfig.substitute_properties(properties, properties, "ml.") end -end \ No newline at end of file +end diff --git a/deploy/sample/build.sample.properties b/deploy/sample/build.sample.properties index c46d8c2d..850f8511 100644 --- a/deploy/sample/build.sample.properties +++ b/deploy/sample/build.sample.properties @@ -70,4 +70,7 @@ authentication-method=digest local-server=localhost #dev-server= #cert-server= -#prod-server= \ No newline at end of file +#prod-server= + +# folder to ignore when deploying into modules database +#ignore-folders=.*/src/(node_modules|.tmp)/.*