sbt/util
Eugene Yokota dea267c224 Improve IO.toFile's handling for Windows
Improve IO.toFile's handling for Windows, and use it for identifying resolvers.

This adds support to convert URL to File on Windows in several ways:

```
val u0 = new URL("file:C:\\Users\\foo/.sbt/preloaded")
val u1 = new URL("file:/C:\\Users\\foo/.sbt/preloaded")
val u2 = new URL("file://unc/Users/foo/.sbt/preloaded")
val u3 = new URL("file:///C:\\Users\\foo/.sbt/preloaded")
val u4 = new URL("file:////unc/Users/foo/.sbt/preloaded")
```

Note that `u0` and `u2` are something `new File(u.toURI)` won't handle. This also correctly handles UNC convention specified by Microsoft in https://blogs.msdn.microsoft.com/ie/2006/12/06/file-uris-in-windows/.

Fixes #3086
Fixes #2150
2017-04-08 03:56:34 -04:00
..
appmacro/src/main/scala/sbt/appmacro Adds an Append instance that extracts taskValue 2017-01-22 23:44:48 -05:00
classfile Add a test that we`re able to parse inner classes. 2015-11-10 14:45:04 -08:00
classpath SD-232 Recycle classloaders to be anti-hostile to JIT. 2016-09-26 14:49:47 +10:00
collection Replace procedure syntax by explicit Unit annotation 2015-08-04 10:07:38 +02:00
complete Revert "Completion for build-level keys" 2016-11-29 05:59:33 -05:00
control added scalariform 2014-05-01 12:50:07 -04:00
cross/src/main/input_sources Fix version parsing 2017-03-15 00:50:58 -04:00
datatype Replace procedure syntax by explicit Unit annotation 2015-08-04 10:07:38 +02:00
io Improve IO.toFile's handling for Windows 2017-04-08 03:56:34 -04:00
log Replace procedure syntax by explicit Unit annotation 2015-08-04 10:07:38 +02:00
logic/src Fix additional warnings 2015-08-07 00:23:14 +02:00
process Replace procedure syntax by explicit Unit annotation 2015-08-04 10:07:38 +02:00
relation/src Simplify operations on collections 2015-08-01 02:25:17 +02:00