cancel
Showing results for 
Search instead for 
Did you mean: 

Bundle Loading Order

nsecurity_
Confirmed Champ
Confirmed Champ

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

1 ACCEPTED ANSWER

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

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>

View answer in original post

1 REPLY 1

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

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>
Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.