launch4j-maven-plugin icon indicating copy to clipboard operation
launch4j-maven-plugin copied to clipboard

Could this Plugin respect the Manifest File

Open Hanmac opened this issue 10 months ago • 3 comments

I added Add-Opens to the Manifest file, but so when i start the jar, it works

bit launch4j currently doesn't respect that.

is there a way to fix that, or do i need the add-opens params in opt?

Hanmac avatar Jan 07 '25 06:01 Hanmac

I would suggest ti use opt

lukaszlenart avatar Jan 07 '25 06:01 lukaszlenart

I would suggest ti use opt

Yeah, but we recently removed the Add-opens from the run scripts in favor of AddOpens in the Manifest File

So it would be great if we could do it in one place instead of multiple

Hanmac avatar Jan 07 '25 07:01 Hanmac

The problem is the plugin is just a wrapper around Launch4j - it can only do as much as the tool can do

lukaszlenart avatar Jan 07 '25 11:01 lukaszlenart