Bundle Loading Order

Once you put your custom bundle in nxserver/plugins, how do you influence what order it loads in? I'm trying to load a bundle to override the UI, but in the logs in the preprocessing order it keeps loading before the org.nuxeo.webapp.base

0 votes

1 answers

1410 views

ANSWER



Order is induced by the dependency tree. In Nuxeo you have 2 level of dependency:

Dependency by bundle. You add into the deployment-fragment an item like that

<require>the.name.of.the.bundle.given.into.the.MANIFEST.MF.file</require>

Dependency by contribution you add into the contribution file itself

<require>the.name.of.the.component.given.in.the.contribution.file.by.the.name.of.the.bundle</require>
3 votes