[
https://issues.apache.org/jira/browse/OFBIZ-11296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17000743#comment-17000743 ]
Pierre Smits commented on OFBIZ-11296:
--------------------------------------
The good thing about this feature/improvement is, is that it is going to show in a singular file in each component what the (component-) dependencies are. And thus lowering the bar for contributors to remove undesirable dependencies.
> Use 'depends-on' everywhere
> ---------------------------
>
> Key: OFBIZ-11296
> URL:
https://issues.apache.org/jira/browse/OFBIZ-11296> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: Trunk
> Reporter: Mathieu Lirzin
> Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-11296_0001-Improved-Use-depends-on-attribute-instead-of-compone.patch
>
>
> We currently have two ways to define component loading order. Either
> by using ‘depends-on’ attribute in “component-config.xml” or by adding
> a “component-load.xml” file at the root of a component directory.
> “depends-on” is more flexible because it handles partial ordering when
> “component-load.xml” defines a total order which is not necessarily
> meaningful, so it is better to rely only “depends-on”.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)