Closed matthias-ronge closed 3 months ago
In my opinion: your suggestion is nod bad but even not good.
My biggest issue with this "new" structure is: is this still possible to build the application with maven without a GUI? For me it looks like a folder structure which is created by Eclipse application and only useful if you use Eclipse as other GUIs did not use this folder structure.
This is only about a new arrangement of the orders in the Git repository, this has nothing to do with Eclipse. Yes, I think something needs to be changed in the Maven settings. That would be part of the adaptation.
I was thinking about how to structure the Kitodo.Production repository more clearly. The result is the following:
docs/ This folder contains documentation for users, administrators and developers. A copy with version number is created as part of a release. The developers continue to edit the version under "latest". The documentation is configured to be visible in Read The Docs or equivalent.
folders/ Production is heavily based on the file system. This folder contains templates of the file system folders required for operation, some with templates of the required configuration files. (Git cannot save empty folders. An empty folder is created in Git by creating a .gitignore file in that folder that just ignores itself.)
libs/ This folder contains the sources of the libraries, also called modules, which are compiled separately and sometimes dynamically loaded at runtime. Libraries that are only compiled and must be available in the class path are given the
lib-
prefix. Modules that are loaded via the module loader are given themodule-
prefix.webapp/ This folder is the source code of the web application called Kitodo.Production.