Automatic modules and jpackage
Mark Raynsford
core-libs-dev at io7m.com
Mon Nov 27 21:43:01 UTC 2023
On Mon, 2023-11-27 at 15:51 -0500, Alexey Semenyuk wrote:
> Hi Mark,
>
> Good to know you've sorted out the issue. I replied to your email
> last
> week, but didn't send it to the right recipients and it got lost.
> Resending once again just in case:
>
> If you want your app's modules in app directory, you can specify
> external runtime to jpackage with "--runtime-image" cli option. In
> this
> case jpackage will not run jlink and compile in your modules. Instead
> it
> will copy your modules in "app/mods" directory.
> You can run jlink before running jpackage and create a runtime you
> want.
> Or you can simply pass $JAVA_HOME as an argument to "--runtime-image"
> cli option.
Thanks!
>
> PS Would you mind updating
> https://blog.io7m.com/2023/11/10/batch-files-are-your-only-option.xhtml
>
> page with the solution? jpackage is not a dead end 😉 and it will
> support WiX v4.
Yep, way ahead of you... :)
https://blog.io7m.com/2023/11/27/batch-files-are-not-your-only-option.xhtml
I look forward to WiX v4 support. Setting up WiX v3 to work in a CI
setting is a bit rough at the moment. v4 is far easier to set up, but
obviously not supported yet (they've removed/renamed various
executables, as you probably know).
--
Mark Raynsford | https://www.io7m.com
More information about the core-libs-dev
mailing list