You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
For example:
<!-- etc. --><DirectoryRefId="_bin97543xxxx">
<ComponentId="_bin_myapp109803301"Guid="71797867-610c-4c9b-ae19-9cf3ffb1c107">
<FileId="fl__bin_myapp109803301"Name="myapp"DiskId="1"Source="bin\myapp">
</File>
</Component>
</DirectoryRef><DirectoryRefId="_bin97543xxxx">
<ComponentId="_bin_myapp_bat147501657"Guid="c17fcd85-bd84-4fba-be80-523bc13af11f">
<FileId="fl__bin_myapp_bat147501657"Name="myapp.bat"DiskId="1"Source="bin\myapp.bat">
</File>
</Component>
</DirectoryRef><!-- etc. -->
Actual behaviour
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:
The text was updated successfully, but these errors were encountered: