Integrated: 7903720: Change layout of jextract image

Jorn Vernee jvernee at openjdk.org
Tue Apr 30 18:36:08 UTC 2024


On Tue, 30 Apr 2024 14:49:25 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> See JBS issue for problem description.
> 
> This patch changes the layout of the jextract image we produce. The new image has the 2 launcher scripts in the root of the image, with a nested `runtime` folder containing the jlink runtime image.
> 
> I've added both launcher scripts to the repo under the `src/main` directory, and they are copied to the image during the build. The script is somewhat simplified by removing a blank variable that was not being used. I also took the opportunity to address an issue with the windows launcher script turning off `echo`. Instead it now avoids output using the `@` prefix for each command in the script.
> 
> I've tested that the scripts work (using `jextract --help`) on both Linux and Windows.

This pull request has now been integrated.

Changeset: b4da3284
Author:    Jorn Vernee <jvernee at openjdk.org>
URL:       https://git.openjdk.org/jextract/commit/b4da3284d41863af47d4a36b5829849b27cd47f4
Stats:     36 lines in 5 files changed: 22 ins; 6 del; 8 mod

7903720: Change layout of jextract image

Reviewed-by: mcimadamore

-------------

PR: https://git.openjdk.org/jextract/pull/241


More information about the jextract-dev mailing list