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)
OD Filelist Deployment: Delete files on target
sparc_69
Hi folks,
we are using OpenDeploy to perform a filelist deployment.
We generate a list of sourcefiles which is then sent to the production server.
The question is, can OpenDeploy selectively delete files when using a filelist? Say, I know there is one file being deleted from the staging area. I would like to have this particular file being deleted from the production server on deployment.
Any suggestions?
Thanks a lot.
Regards
Juergen
Find more posts tagged with
Comments
tvaughan
Filelist deployment's can't delete remote files -- only comparison based deployments can.
Tom
Migrateduser
Really? I used to do file list deployments and delete files in 4.5.1 - I can't believe this functionality would be gone (but I haven't tested it).
Migrateduser
To delete a file on the target using filelist deployment, the file must be specified in the file list, be missing from the source, and be present on the target. And of course the doDelete option needs to be enabled.
Todd Scallan
Group Product Manager
Interwoven
t: 408-530-7167
e:
tscallan@interwoven.com
sparc_69
How do I have to specify the file in the list - is there a special syntax?
Thanks a lot.
Regards
Juergen
Migrateduser
In 4.5.2 (and I assume 5.x) it should be just like any other file in a file list - the path to the file that has been deleted relative to the directory that is being deployed to.
sparc_69
OK, Do Deletes works now for the following case:
I have one or more regular files in my filelist.
It does not work for the following case:
I have a directory in my filelist, in which I have deleted one or more files.
E.g. I have a list:
test/file1.gif
/test/file2.jhtml
/test2
OD does not perform a directory comparison on /test2.
So, is it true that, as soon as I use a filelist, directory comparison is disabled?
Do you have any idea on how to solve the problem?
Thanks a lot.
Regards
Juergen
Migrateduser
that is true.
filelist deployments do not conduct remote compares with the target; content is just pushed over.
if you want remote compares the only way right now is to
do a dirdiff deployment for every dir desired.
Migrateduser
Right, there is no filelist/dir-diff combo style deployment.
There is an open feature request for this: #18875.
Please either ask Tech Support to attach you to this request, or let me know your company name and I'll attach it to the request.
Cheers,
Todd Scallan
Group Product Manager
Interwoven
t: 408-530-7167
e:
tscallan@interwoven.com
mick
that's interesting, because the OD manual says that doDeletes can't be used for a file list deployment (page 219 of the OD Admin Guide for version 5.5.1). BUT, i just tried it and it seems to work with no problems - so i guess the manual was wrong? bit of a pity that, if i'd known this earlier i'd have saved myself the hassle of trying to find another way to do this.
mick :-|
Adam Stoller
That was a doc-bug - it was fixed in the 5.6 manual.
doDeletes will work with filelist deployments in the following way: If you explicitly list a file (or directory) that does *not* exist on the source side, then it will be interpreted as a directive to delete that file (or directory) on the target side.
There is still no comparison performed between the two sides - it's just interpreted as a directive - if the file exists on the source side, deploy it; if the file does not exist on the source side, delete it.
--fish
(Interwoven Senior Technical Consultant)