Newbie Jigsaw question: How should I use 'jmod hash'
Andre Tadeu de Carvalho
andre.tadeu.de.carvalho at gmail.com
Mon Jan 21 12:57:22 UTC 2019
Hi,
I am exploring the jmod utility and I am stuck with the following: I
already generated the jmod file and I want to add a hash from the dependent
module in it. I asked the same question in StackOverflow:
https://stackoverflow.com/questions/54269994/how-should-i-use-jmod-hash
What I am doing:
jmod create --class-path target/mods/A target/jmods/A.jmod
jmod create --class-path target/mods/B target/jmods/B.jmod
Where B depends on A. Assuming I understood the documentation right, I
could add B hash into A.jmod. I am trying the following:
jmod hash --hash-module B --module-path target/jmods target/jmods/A.jmod
When I run jmod describe, the hash is still not there. What I am doing
wrong? Can I use jmod hash the way I am using it?
Thanks in advance,
André Tadeu de Carvalho
More information about the jigsaw-dev
mailing list