<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Conditional deployment with deployment-fragment.xml ? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/conditional-deployment-with-deployment-fragment-xml/m-p/316577#M3578</link>
    <description>&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;I have had a look at &lt;A href="https://doc.nuxeo.com/display/NXDOC/Understanding+Bundles+Deployment" target="test_blank"&gt;https://doc.nuxeo.com/display/NXDOC/Understanding+Bundles+Deployment&lt;/A&gt; but not sure what the syntax is for a conditional-file-deployment - could anyone please advise ?&lt;/P&gt;</description>
    <pubDate>Fri, 07 Oct 2016 23:06:48 GMT</pubDate>
    <dc:creator>Rafi_Cohen</dc:creator>
    <dc:date>2016-10-07T23:06:48Z</dc:date>
    <item>
      <title>Conditional deployment with deployment-fragment.xml ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/conditional-deployment-with-deployment-fragment-xml/m-p/316577#M3578</link>
      <description>&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;I have had a look at &lt;A href="https://doc.nuxeo.com/display/NXDOC/Understanding+Bundles+Deployment" target="test_blank"&gt;https://doc.nuxeo.com/display/NXDOC/Understanding+Bundles+Deployment&lt;/A&gt; but not sure what the syntax is for a conditional-file-deployment - could anyone please advise ?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 23:06:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/conditional-deployment-with-deployment-fragment-xml/m-p/316577#M3578</guid>
      <dc:creator>Rafi_Cohen</dc:creator>
      <dc:date>2016-10-07T23:06:48Z</dc:date>
    </item>
  </channel>
</rss>

