breaking ofbiz piece by piece - expose parts to outside

2023-12-05 Thread Eugen Stan

Hello OFBiz devs,

I had some time to check out OFBiz again and I would like to propose 
some improvements to OFBiz.


The purpose is to split some independent parts from ofbiz so they can be 
used by other projects that wish to interact with OFBiz.


The main beneficiaries will be ofbiz related tooling IMO.

I believe I have identified two initial candidates for splitting:

- datafile component = "framework/datafile" - split as a project / 
library - usefull for tooling
- base/crypto - 
framework/base/src/main/java/org/apache/ofbiz/base/crypto - to do crypto 
in tooling compatible with ofbiz
- base/util - framework/base/src/main/java/org/apache/ofbiz/base/util - 
this is used across both of the above stuff


== How the split should happen and how it will look like:


Use gradle subprojects feature to define 3 subprojects in the 
ofbiz-framework git repo:

- base/utils
- base/crypto
- components/datafile

The projects will be standalone gradle projects that can be built 
individually and have dependencies.
https://docs.gradle.org/current/userguide/declaring_dependencies_between_subprojects.html 



Since these projects can build jar files, they can be published to maven 
to be consumed by other apps.
Since they are projects part of ofbiz-framework, they will participate 
as dependencies in the build.


I hope this can open the door to further refactoring and making OFBiz 
play nicer with outside developers.



After the change, the code should function the same with regards to 
normal OFBIz operations




It is somewhat related to https://issues.apache.org/jira/browse/OFBIZ-3500


--
Eugen Stan

+40770 941 271  / https://www.netdava.com


Re: [GH] (ofbiz-framework): Workflow run "Java CI with Gradle" failed!

2023-12-05 Thread Jacques Le Roux

As we know:

<<

GitHub has temporarily disabled Subversion support as part of a planned brownout
64 in order to give you advance notice of the upcoming 
permanent removal of

65 
Subversion
 support on 2024-01-08.
66 

67 Please see 
https://github.blog/2023-01-20-sunsetting-subversion-support/ for details.



Le 05/12/2023 à 11:48, GitBox a écrit :

The GitHub Actions job "Java CI with Gradle" on ofbiz-framework.git has failed.
Run started by GitHub user JacquesLeRoux (triggered by JacquesLeRoux).

Head commit for run:
ca0433d0e40ed9ac1cb73ad53be4a555ca9a3542 / Eugen Stan
Fixed: Time zone display for JDK17+ (OFBIZ-12721) (#676)

Use ZoneId API to get time zone display name

Thanks Ioan Eugen

jleroux: I did not find any timeZone.getDisplayName in in Java and Groovy files 
so I guess it's OK to close.

Report URL:https://github.com/apache/ofbiz-framework/actions/runs/7099626824

With regards,
GitHub Actions via GitBox