Hi Samuel, All,

Le 18/12/2019 à 14:00, Samuel Trégouët a écrit :

For the new feature itself, it seems wise to me to have it working with 
component-load.xml files before starting it on the trunk...
It is working with component-load.xml from the start! but not with
framework, applications components directories which is (from my point
of view) an implementation detail: you should not rely on which order
framework is loading its components!

Yes, but so far that's an unavoidable fact. please refer to the wiki page I 
posted earlier (with a dependencies graph in). Anyway here it is:

https://cwiki.apache.org/confluence/display/OFBIZ/Component+and+Component+Set+Dependencies

There are several possibilities to avoid that, but none are free (as free 
beer), and that's an euphemism...


It seems to me that you should write your code in plugins and actually
in plugins you can expect every components in framework to be loaded,
but maybe I'm wrong about how users use obfiz framework...

We must face reality (please refer to the dependencies  graph again) , as you 
know component-load.xml is not only used in plugins.



Le 18/12/2019 à 12:09, Jacques Le Roux a écrit :
Mathieu asks Michael to provide  an "explanation regarding why it matters in 
production environments to be able to patch" component-load.xml files
yes we are still waiting for your answer Michael ;) In my opinion we
cannot go ahead in this discussion without your answer, without your
need about component-load.xml: are you trying to avoid loading a
particular framework component? do you patch a framework component and
need another one to be loaded first to make your patch works? ...

That's an interesting point indeed. Have you your own framework component/s 
Michael ?



Michael does not answer this question but reiterate a question Mathieu did not answer 
yet: "is [this] tested working [together] with component-load.xm"
As I've done the requested test manually and Mathieu has reverted the
commit I think we can left behind this question.

Samuel

I believe these points must be answered before we get further in this discussion

Jacques

Thanks for this effort Samuel! Was it difficult?

Jacques

Reply via email to