Hi,
We are using TS/OD 7.3.2 on Windows 2008.
Idea is to have common OD config file for deployments and pass srcarea, destarea and exlude folders as parameters.
OD config file entry
---------------------
<targetRules>
<filters>
<excludepattern regex="$targetexcludes^">
</filters>
</targetRules>
From Java Code
-------------------
targetexcludes = "^(?i)(first|second|third|fourth)/?$"; // these are the folder names, i am trying to dynamically form this string/regex.
Also tried escaping '|' with 1 and 2 slashes.
What log shows
-----------------
deployment=.InternalStageWebDeploy.WebRootDeployment.int-web-staging
file_list=D:/Interwoven/TeamSite/tmp/webdeploy\GLOBAL_usdf-iwui_webfilelist_11443.txt
area=Y:\default\main\Active\ostene\WORKAREA\ostene
local_directory=.
source_exclude=dir1
source_exclude=dir4
destination_exclude_pattern="^(?i)(first"
;
;
LIB: 2015-05-08 11:44:42 ERROR: Bad dest exclude regular expression ^(?i)(first
Thanks in advance.