Conditional deployment with deployment-fragment.xml ?

Hi, I am currently using a deployment-fragment.xml in order to deploy a -config.xml from the bundle to the nxserver/config folder and wondering if there is a way to deploy the file only if there is no such file in the destination folder already ? i.e. the -config.xml contains some plugin-specific configuration in it, and these might get tweaked - however every time the server starts it will re-deploy a fresh copy and overwrite the tweaks.

I have had a look at https://doc.nuxeo.com/display/NXDOC/Understanding+Bundles+Deployment but not sure what the syntax is for a conditional-file-deployment - could anyone please advise ?

0 votes

0 answers

1767 views

ANSWER