On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.

doDeletes with excludePath

On my web server, I have a docroot like this:

/www/docroot/corporate/about
images
includes
homepage
news
whois
Within TeamSite, I have a branch structure like this:

...default/corporate/WORKAREA/content/
about/
homepage/
news/
whois/
...default/share/WORKAREA/content
images/
includes/
You can think of the docroot as being the sum of the corporate and the share branch. I broke the share branch out for a variety of reasons, including access control, number of files, and deployment needs.

Anyway, what I want to provide is an OD5.0.1. deployment configuration on my Solaris 2.8 TS5.0.1 server that will allow one of my editors in the corporate branch to deploy the STAGING area of corporate to the target server without deleting the 'include' and 'images' directories.

I want to be able to provide them with the ability to delete a page from, say, the news directory, but without that deployment necessarily blowing away all the directories that I broke off from the corporate branch and put in the share branch.

You would think that maybe the combination of a couple of 'excludePath' lines with the doDeletes turned on would do the trick, but that doesn't work. Page 207 of the OD5.0.1 manual says:

A file or directory that is excluded from a filtered deployment is treated as being non-existent at the source host. If the doDeletes attribute of the transferRules element is enabled in the deployment configuration, then the same file at the target host will be deleted . . . "

Has anyone developed a work-around? Or is there some TS/OD functionality I don't know about that will hook me up?

Thanks in advance,
Tom