Open
Description
On Windows, there are reserved file names, including, among others, aux
, Aux
, aux.*
, Aux.*
, con
, ... (full list). Thus when building on a Windows machine, you probably run into an OS error when scalac tries to write these files. See #4781.
However, you can perfectly create those files on other OS such as Linux or macOS. But when trying to extract those files on a Windows computer, it fails.
I would thus suggest, perhaps in conjunction with #4781, to warn or even error on those file names on any operating system. That way you prevent somebody from building an entire library based on com.foo.aux.Aux
(which I just did) and finding out much later that it causes problems (example: extracting the scaladoc jar).