Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Directory Deployment|Filters not working
infoForDj
Hi,
I have a configuration file which does a directory deployment.
One of the requirements say that while doing the deployment, one of the directories should not get deployed.
I tried using excludePath and excludePattern filters but that didnt work.
The config file code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
########################################
NAME
EditionDeploy.xml
DESCRIPTION
This xml file contains the configuration information for the
open deployment to be done for the htmls.
Notes:
Please make changes ONLY to
+ localNode
+ sourceFilesystem -> area, filelist
+ targetFilesystem -> area
+ dnrDeployment -> script -> cmd
COPYRIGHT
2004 of Nextel Communications
AUTHOR
Nextel Communications
REVISION
Ver 1.0 : 25-Jan-04 : Deepa Jain : Created the file.
########################################
-->
<deploymentConfiguration>
<logRules maxBytes="32Mb" level="verbose">
</logRules>
<localNode host="atlsdcg1.nextel.com" />
<replicationFarmSet>
<replicationFarm name="MULAN_FARM" quorum="">
<nodeRef useNode="production_tnb2" />
<!--
<nodeRef useNode="production_tnb3" />
-->
</replicationFarm>
</replicationFarmSet>
<definition name="WF_DIR_MULAN_HTML">
<source>
<sourceFilesystem area="$htmlDirectory^" filelist="">
<pathSpecification>
<path name="." />
<filters>
<excludePattern regex="\.dcr$" />
<excludePath subPath="en/custom_aisles" />
<excludePath subPath="templatedata" />
</filters>
</pathSpecification>
</sourceFilesystem>
</source>
<target useReplicationFarm="MULAN_FARM">
<targetFilesystem area="/app/data/interwoven/OpenDeployNG/tmp/MULAN/en" />
</target>
</definition>
<definition name="WF_DIR_MULAN_ASSET">
<source>
<sourceFilesystem area="$assetDirectory^" filelist="">
<pathSpecification>
<path name="." />
<filters>
<excludePattern regex="\.dcr$" />
<excludePath subPath="en/custom_aisles" />
<excludePath subPath="templatedata" />
</filters>
</pathSpecification>
</sourceFilesystem>
</source>
<target useReplicationFarm="MULAN_FARM">
<targetFilesystem area="/app/data/interwoven/OpenDeployNG/tmp/MULAN/assets" />
</target>
</definition>
<deployment transactional="yes">
<execDeploymentTask useDefinition="WF_DIR_MULAN_HTML">
</execDeploymentTask>
<execDeploymentTask useDefinition="WF_DIR_MULAN_ASSET">
</execDeploymentTask>
</deployment>
</deploymentConfiguration>
Open Deploy Version: 6.0.1
Please help me to design an approach where that sub-directory can be excluded while doing the deployment.
Thanks,
Dhruv
Find more posts tagged with
Comments
Migrateduser
For directory comparison deployment, the filters should be used on both the source and target sides. This will exclude files matching the filer criteria from being included in the comparison.
Todd Scallan
Director of Product Management
Interwoven
t: 408-530-7167
e:
tscallan@interwoven.com
infoForDj
Hi,
Thanks for the solution
Dhruv
Edited by infoForDj on 05/11/05 00:03 AM (server time).