Same file can't be packaged multiple times
See original GitHub issueOn sbt 0.13.8 (haven’t tested other versions), if I do:
mappings ++= Seq(
foo -> "foo1",
foo -> "foo2"
)
Only foo2
ends up in the packaged jar. Both should be packaged.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Installer project packaging files multiple times - Stack Overflow
And this number doubles each time a build is run. I tested this with the following line: Packaging file 'System. IO.
Read more >Fixing “Target Packages is configured multiple times” Error in ...
The fix is to read the error message (it's a warning, actually) correctly and edit the file to remove (or comment out) duplicate...
Read more >dotnet pack might include the same file multiple times ... - GitHub
dotnet pack could include the same file multiple times, producing invalid packages. Detailed repro steps so we can see the same problem. Create ......
Read more >Solved: Illustrator 22.0.1 Creates Multiple Linked File So...
But yes, I am use to it using the file only once while packaging, if it is the same file, and instead of...
Read more >debian - How to install two packages that write the same file
Packages providing same file(s) should conflict with each other -- it they don't it is a bug ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This bug still exists in sbt 1.2.0:
Thanks for the fast reply and detailed research. I’ll try to tackle this issue 😎