You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Mathieu Lirzin (Jira)" <ji...@apache.org> on 2019/12/08 11:57:00 UTC

[jira] [Commented] (OFBIZ-11296) Use 'depends-on' everywhere

    [ https://issues.apache.org/jira/browse/OFBIZ-11296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16990833#comment-16990833 ] 

Mathieu Lirzin commented on OFBIZ-11296:
----------------------------------------

Hello [~mbrohl]

To my knowledge  [^OFBIZ-11296_0001-Improved-Use-depends-on-attribute-instead-of-compone.patch]  has not much impact because the {{component-load.xml}} feature is still available for productive installations in case they want to activate/reorder components using this feature (they simply need to create a file in the directory of their choice). Did you notice a bug?

From my point of view the change did not require a prior discussion, but I might be overlooking some important aspect that make it necessary to have such discussion. Maybe you have something specific in mind ?

> 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
>            Assignee: 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)