Open wiverson opened 3 years ago
I agree with this, I spent long hours trying to make a modular app to work. With no success. I wasn't lucky enough to see this issue at the first try.
This part of the documentation should get an update, especially now that jpackage
is out of incubation and a part of jdk tools.
I will have a look at it, unless someone beats me to it :)
I would be happy to send in some updates for docs. Is a PR the preferred process?
@wiverson A PR would be great!
I would suggest that this entire section be reworked to deemphasize trying to make the end user application modular. I tried to make this work and ran into nothing but problems.
I spent a long, long time trying to make my app[s] fully modular and it was essentially impossible for anything but a trivial Hello World app. As soon as I brought in any dependencies it turned into a nightmare.
Here is a very simple, clean Maven template for building a JavaFX app, including GitHub Actions for creating the installers.
https://github.com/wiverson/maven-jpackage-template
Feel free to grab any/all of it for the JavaFX documentation.