[External] : Re: Automatic modules and jpackage

Alexey Semenyuk alexey.semenyuk at oracle.com
Mon Nov 27 22:18:05 UTC 2023



On 11/27/2023 4:43 PM, Mark Raynsford wrote:
> 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://urldefense.com/v3/__https://blog.io7m.com/2023/11/10/batch-files-are-your-only-option.xhtml__;!!ACWV5N9M2RV99hQ!I6pyEwewDHFRM2GBn_2IUZItmkR1_2iw0iGU8x1xS6cYXvZlrmgai8Px4y2RAsBNZinxW2cgpmCxGonPxzO9t2gmcDQz$
>>   
>> page with the solution? jpackage is not a dead end 😉 and it will
>> support WiX v4.
> Yep, way ahead of you... :)
>
> https://urldefense.com/v3/__https://blog.io7m.com/2023/11/27/batch-files-are-not-your-only-option.xhtml__;!!ACWV5N9M2RV99hQ!I6pyEwewDHFRM2GBn_2IUZItmkR1_2iw0iGU8x1xS6cYXvZlrmgai8Px4y2RAsBNZinxW2cgpmCxGonPxzO9t7YIFzjx$
Nice!
>
> 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).
Yeah, they merged all commands into single one and on top of that 
changed the format of  source files. Keep us entertained.

- Alexey
>



More information about the core-libs-dev mailing list