When running sbt windows:packageBin, I get errors with duplicate script file entries in the generated WiX.wxs file, but only if the JDKPackagerPlugin is enabled; if this plugin is not enabled, the .wxs file is generated correctly.
Expected behaviour
Native packager should produce a single, valid component definition for the generated application Windows batch file, and Bash script.
Native packager creates duplicate component definitions for the generated Windows batch file, and Bash script, but only if the JDKPackagerPlugin is enabled.
When running
sbt windows:packageBin
, I get errors with duplicate script file entries in the generated WiX.wxs
file, but only if theJDKPackagerPlugin
is enabled; if this plugin is not enabled, the.wxs
file is generated correctly.Expected behaviour
Native packager should produce a single, valid component definition for the generated application Windows batch file, and Bash script.
For example:
Actual behaviour
Native packager creates duplicate component definitions for the generated Windows batch file, and Bash script, but only if the
JDKPackagerPlugin
is enabled.For example:
Note the duplicate entries for
bin\myapp
andbin\myapp.bat
. That is, there are two entries, with the same ID, for each file, but with different GUIDs.Information
rpm --version
) WiX Toolset v3.11.2.4516Relevant SBT configuration: