is there a way to prevent certain *.xml files from...
# sdf
d
is there a way to prevent certain *.xml files from being deployed when just having
~/Objects/*
in deploy.xml? having some sort of project level ".sdfignore" file capability or being able to put that file in a sub-directory of /Objects to omit would be nice
e
This is what
deploy.xml
is for, though. Instead of using
~/Objects/*
, use something like
~/Objects/deploy/*
and place the XML you'd like to deploy in there. Anything outside of
deploy/
would be ignored.
d
we keep a pretty deeply nested /Objects with subfolders so there isnt one main "deploy" dir with everything, I've done somewhat as you described by manually listing out every subdirectory I want to deploy but it is a pain generally
usecase is just when deploying a large project, I have ran onto multiple occasions where there is just one or two objects that fails so the whole deploy halts and doesnt go through, I would prefer to temporarily just specify omitting those rather than briefly moving the files elsewhere during the deploy or having to list out explicitly everything that I am deploying excluding those couple of objects
e
I suppose my suggestion is to make the main
deploy
directory (or whatever name you find appropriate) and relocate the working XML accordingly