drapanjanas/re-natal

Incorrect jvm --add-modules options

jochasinga opened this issue · 1 comments

Summary

:jvm-opts in proj.clj contains an extra = in --add-modules=java.xml.bind that results in the following error when run lein prod-build.

java.lang.module.FindException: Module java.xml.bind not found

Context

Mac OSX
java version 11.0.2
re-natal version 0.11.1

More

This extra :jvm-opts passed here needs to be fixed to
:jvm-opts ["-XX:+IgnoreUnrecognizedVMOptions" "--add-modules java.xml.bind"]
without = to work. Otherwise, lein prod-build would raise

Compiling ClojureScript...
Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.xml.bind not found

:jvm-opts ["-XX:+IgnoreUnrecognizedVMOptions" "--add-modules=java.xml.bind"]

See also: #198

This fix appears to work for me as well