module-system-woes
module-system-woes copied to clipboard
Solutions to common troubles with Java's module system
Some related links: * https://andresalmiray.com/building-a-layered-modular-java-application-watch-out-for-these/ * exception swallowed by JavaFX classes? * https://twitter.com/lanthale/status/1405776799724806144 * https://github.com/javafxports/openjdk-jfx/issues/236#issuecomment-426583174 * resources, e.g. FXML, CSS
Ideas: * separate build steps * assemble descriptor with Moditect
Related links: * https://twitter.com/Thi_Hup/status/1405840960207134724
Related links: * https://twitter.com/Jan5366x/status/1405797592374595588
Related links: * https://twitter.com/realTomFi/status/1406146695835029506 * https://mail.openjdk.java.net/pipermail/jigsaw-dev/2019-August/014280.html * https://livebook.manning.com/book/the-java-module-system/chapter-5/60
E.g. [here](https://github.com/schnatterer/moby-names-generator-java/commit/dbd710121f33c22df501103a6434690afbf190c5).
E.g. [here](https://github.com/spring-projects/spring-boot/issues/24889).
Ideas: * add/update manifest * ~> Moditect * ~> "An ugly fix to this is create an empty jar with name that the module system likes, and use the --patch-module...
I think some ideas regarding tests were left unexplored. We should look into them to finish that topic.