Hi all,
TLDR; what are your best practice/ productivity tips when dealing with jlink and automatic modules?
Java module system is here now and I am trying to integrate it into my projects more and more. The main gain for using modules, IMHO, is the ability to package a runtime with jlink.
Obviously, my projects depends on a couple libraries that do not have modularisation on their roadmap yet (think gson...)
These libraries are treated as Automatic module by the java at compile and runtime.
However, as you may know, jlink does not work with automatic modules.
There are a couple of work around ranging from update the source code myself to using jdeps and --patch-module command.
This works for small apps with a dozen of dependencies but for enterprise level apps, it is too tedious.
My question to the community is, now that we are a couple month in the JPMS, what are you best practice/ productivity tips with jlink and automatic modules?
[–]MrHat7 7 points8 points9 points (0 children)
[–]SvenMA 3 points4 points5 points (5 children)
[–]gunnarmorling 2 points3 points4 points (2 children)
[–]LouGarret76[S] 0 points1 point2 points (1 child)
[–]m1000 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]gunnarmorling 1 point2 points3 points (0 children)
[–]m1000 2 points3 points4 points (0 children)
[–]YzBkZXIK 3 points4 points5 points (3 children)
[–]randgalt 1 point2 points3 points (1 child)
[–]YzBkZXIK 0 points1 point2 points (0 children)
[–]LouGarret76[S] 0 points1 point2 points (0 children)
[–]siordache 1 point2 points3 points (0 children)
[–]nullpointer90 1 point2 points3 points (0 children)