invoking jextract multiple times overwrites constants$0

Sebastian Stenzel sebastian.stenzel at gmail.com
Thu Aug 25 13:33:56 UTC 2022


Hi all,

is jextract still being discussed on this mailing list or did it move? I'll assume it is ok for me to ask a question here, but please feel free to point me to the correct place otherwise.

I'm running jextract with the same --target-package and the same --output multiple times, but for different header files. While I have full control over the name of the java files generated by specifying the --header-class-name, the constants$n.java files have a fixed name. I.e. the second run of jextract will overwrite these files generated by the first run.

Is there a workaround? Or is it just not intended to run jextract with the same --output and --target-package for different header files?

Thanks!
Sebastian


More information about the panama-dev mailing list