<?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 Controlling bundle deployment order in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/controlling-bundle-deployment-order/m-p/314719#M1720</link>
    <description>&lt;P&gt;I have a bundle that should overwrite some &lt;CODE&gt;.jsp&lt;/CODE&gt; and &lt;CODE&gt;.xhtml&lt;/CODE&gt; files in Nuxeo but when starting the server I can see in the logs that Nuxeo insists on deploying my bundle before the other webapp bundles and thus I can't overwrite anything.&lt;/P&gt;
&lt;P&gt;Is there a way to control the deployment fragment preprocessing order to make sure my bundle is processed after the standard Nuxeo ones?&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2011 14:47:16 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2011-07-28T14:47:16Z</dc:date>
    <item>
      <title>Controlling bundle deployment order</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/controlling-bundle-deployment-order/m-p/314719#M1720</link>
      <description>&lt;P&gt;I have a bundle that should overwrite some &lt;CODE&gt;.jsp&lt;/CODE&gt; and &lt;CODE&gt;.xhtml&lt;/CODE&gt; files in Nuxeo but when starting the server I can see in the logs that Nuxeo insists on deploying my bundle before the other webapp bundles and thus I can't overwrite anything.&lt;/P&gt;
&lt;P&gt;Is there a way to control the deployment fragment preprocessing order to make sure my bundle is processed after the standard Nuxeo ones?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2011 14:47:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/controlling-bundle-deployment-order/m-p/314719#M1720</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2011-07-28T14:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling bundle deployment order</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/controlling-bundle-deployment-order/m-p/314720#M1721</link>
      <description>&lt;P&gt;Bundle deployment (aka preprocessing) is controlled by the &lt;CODE&gt;deployment-fragment.xml&lt;/CODE&gt; file, and the &lt;CODE&gt;&amp;lt;require&amp;gt;&lt;/CODE&gt; elements in it.&lt;/P&gt;
&lt;P&gt;Therefore in order to have your bundle preprocessing executed after, for instance, &lt;CODE&gt;org.nuxeo.ecm.webapp.ui&lt;/CODE&gt;, your &lt;CODE&gt;deployment-fragment.xml&lt;/CODE&gt; should start with:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;fragment version="1"&amp;gt;
  &amp;lt;require&amp;gt;org.nuxeo.ecm.webapp.ui&amp;lt;/require&amp;gt;
  ...
&amp;lt;/fragment&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note that it's important to specify &lt;CODE&gt;version="1"&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;Note also that this is new since Nuxeo 5.4. Before that, bundle deployment order was controlled by the &lt;CODE&gt;Require-Bundle&lt;/CODE&gt; in the &lt;CODE&gt;MANIFEST.MF&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2011 14:56:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/controlling-bundle-deployment-order/m-p/314720#M1721</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2011-07-28T14:56:10Z</dc:date>
    </item>
  </channel>
</rss>

