Does ‘StartupControlPanel#loadStartupLoaders’ really require introspection?

2018-10-21 Thread Mathieu Lirzin
Hello, I have a question regarding the ‘org.apache.ofbiz.base.start.StartupControlPanel#loadStartupLoaders()’ current implementation: --8<---cut here---start->8--- private static void loadStartupLoaders(Config config, List loaders,

Re: Using alternate dispatcher and delegator for integration tests

2018-10-21 Thread Mathieu Lirzin
Hello Taher, Taher Alkhateeb writes: > An example could shed some light here perhaps? What kind of examples would help you? AIUI It would be for the people using this feature outside of the framework to provide examples why we should keep it in. > What do you want to remove from where? Here

Re: log4j:WARN

2018-10-21 Thread Jacques Le Roux
Just found that it's related to FreeMarkerWorkerTests.java::renderTemplateFromString Not sure why this happens then in the log Le 21/10/2018 à 18:50, Jacques Le Roux a écrit : Hi, I'm not sure if we should worry but I sometimes see these log4j:WARN in the log    log4j:WARN No appenders

log4j:WARN

2018-10-21 Thread Jacques Le Roux
Hi, I'm not sure if we should worry but I sometimes see these log4j:WARN in the log log4j:WARN No appenders could be found for logger (freemarker.cache). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for

Re: Using alternate dispatcher and delegator for integration tests

2018-10-21 Thread Taher Alkhateeb
An example could shed some light here perhaps? What do you want to remove from where? How is it complex? On Sun, Oct 21, 2018 at 5:17 PM Mathieu Lirzin wrote: > > Hello, > > I am trying to simplify the way integration tests are currently run. > While looking at

Using alternate dispatcher and delegator for integration tests

2018-10-21 Thread Mathieu Lirzin
Hello, I am trying to simplify the way integration tests are currently run. While looking at ‘org.apache.ofbiz.testtools.ModelTestSuite’ I have found that it is possible to define alternate dispatcher and delegator for specific tests. This feature is not used anywhere in the framework and

Re: Groovy DSL runService Exception Management ?

2018-10-21 Thread Jacopo Cappellato
On Thu, Oct 18, 2018 at 10:45 AM Gil Portenseigne < gil.portensei...@nereide.fr> wrote: > Hello ! > > While we are working on Groovy migration at Nereide, we figured out that > using ‘run service’ DSL method instead of returning the errorMap, a > ‘ExecutionServiceException’ is thrown [...] > I