Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Filelist Source Based Override
Jason0099
Does anyone have an example of a filelist deployment with a source based override? I am trying to deploy files from one specific directory to a particular locations. All other files should be deployed in the same directories that they reside in on the source. The files included in the source based override are not being deployed.
Here is a snippet from my xml:
<definition name="com_web_content_filelist" >
<source >
<fileSystem name="com_fl" >
<filelist area="/.iwmnt/default/main/com/branch/$source_area_type/templatedata/common/siteproperties" filePath="$filelist" name="com_en_fl" targetFollowLinks="no" deleteAfterComplete="no" >
<pathSpecification >
<path name="." recursive="yes"/>
<targetRules area="$WEB_CONTENT_ROOT/sites" />
</pathSpecification>
</filelist>
<filelist area="/.iwmnt/default/main/com/branch/$source_area_type/$source_area_spec" filePath="$filelist" name="com_en_fl" targetFollowLinks="no" deleteAfterComplete="no" >
<pathSpecification >
<path name="." recursive="yes"/>
<filters >
<!--exclude directories with source based overrides-->
<excludePattern regex=".*/folder_1/.*$" />
<excludePattern regex=".*/folder_2/.*" />
<excludePath subPath="common/pageproperties" />
<!-- <excludePath subPath="common/siteproperties" />-->
<excludePath subPath="common/presentationframeworkfile" />
</filters>
</pathSpecification>
</filelist>
</fileSystem>
</source>
<target useReplicationFarm="" >
<comparisonRules dateDifferent="yes" revert="no" ignoreAcls="no" ignoreModes="no" ignoreUser="no" ignoreGroup="no" checksumCompare="no" />
<permissionRules amask="" omask="" directory="0755" file="0775" group="" user="" changeAccess="" setAccess="" />
<targetFilesystem area="$WEB_CONTENT_ROOT" />
<replicationFarmLink >
<internal name="WEB_$farm" />
</replicationFarmLink>
</target>
</definition>
Find more posts tagged with
Comments
Adam Stoller
The big problem I see in what you posted is that your specifying two different source areas:
in both cases), which usually isn't the case if you have one filelist and two source areas. This is most likely why the second pathSpecification isn't working. You want to change the target area not the source area.