Controlling bundle deployment order
I have a bundle that should overwrite some
.xhtml 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.
Is there a way to control the deployment fragment preprocessing order to make sure my bundle is processed after the standard Nuxeo ones?
Bundle deployment (aka preprocessing) is controlled by the
deployment-fragment.xml file, and the
<require> elements in it.
Therefore in order to have your bundle preprocessing executed after, for instance,
deployment-fragment.xml should start with:
<?xml version="1.0"?> <fragment version="1"> <require>org.nuxeo.ecm.webapp.ui</require> ... </fragment>
Note that it's important to specify
Note also that this is new since Nuxeo 5.4. Before that, bundle deployment order was controlled by the
Require-Bundle in the