Re: [OFBIZ-12801] "Error at CommunicationEventServices.groovy:489"

2023-05-02 Thread Daniel Watford
Hi Nicholas, I can see value in the approach I think you are proposing (please correct me if I am wrong) which I would summarise as: - All scripts are considered service implementations and will handle parameters and return types accordingly, and - GroovyEventHandler should invoke an event

Re: OFBiz 22.01 - Eclipse - Issues on setting up a debugging environment.

2023-05-02 Thread Jacques Le Roux
Le 02/05/2023 à 09:16, Daniel Watford a écrit : I'll ask one more question (and then run for cover!): Rather than carry out this work twice. What if we abandon the 22.01 release and instead make a new release branch (23.xx) soon after moving the Groovy sources? That looks like an excellent

Re: OFBiz 22.01 - Eclipse - Issues on setting up a debugging environment.

2023-05-02 Thread Daniel Watford
Hi Michael, I would be concerned about our capacity to move all these groovy scripts and ensure correct location updates are made to the elements in the controller.xml files and elements in service definitions in both trunk and the release22.01 branch. If we were to pursue these changes, could

Re: OFBiz 22.01 - Eclipse - Issues on setting up a debugging environment.

2023-05-02 Thread Jacques Le Roux
Hi Daniel, Thanks for the code confirmation. Yes I can confirm it works fine for me in Win7, Eclipse 2023-03 and JDK 17. You can add a line above a breakpoint and all works as expected. On the other hand, it work as if it was Java in a Virtual Box. At least for me in VB 7, Ubuntu 20.04,

Re: OFBiz 22.01 - Eclipse - Issues on setting up a debugging environment.

2023-05-02 Thread Daniel Watford
Hi Jacques, Sorry for the late reply - it has been a busy May-day bank holiday weekend here in the UK. I think you have already checked this, but yes, you can indeed modify Groovy script code while OFBiz is running. The script will be re-loaded (and internally recompiled) by