We're using SBT 0.13.13 with SBT assembly 0.14.3
Lately, sbt assembly
started getting stuck when trying to read some XML files. After some digging we found out it happens because SBT generates a directory streams under the target dir & inside that streams dir it generates a directory $global. I'm not quite sure whats this $global dir is but if I cd into, it takes me back to my root dir
We were only able to actually execute the sbt assembly
successfully after adding this to our assembly merge strategy code:
case ff if !ff.getAbsolutePath.contains("$") =>
XML.loadFile(ff)
And so my questions are:
- Why is SBT generating a streams dir under target?
- What is this mysterious $global dir?
- Did someone else encounter this issue and solved it in a more elegant way?
Thanks in advance