Closed quintesse closed 11 years ago
Well, that's because a windows path is not a URI.
Can we have more specific examples?
Should be a simple hack in StandardArgumentParsers
.
Though, looking at it we already have such a hack in there...?
I made it a bit more hackish.
The hack that is in place turns paths like "foo/bar" into "file://C|some/absolute/path/foo/bar" which is not what we want because the CMR only understand file paths or remote repository URLs (of the form "http://", "mvn:" etc, not "file://")
A nicer solution might be to introduce our own PathOrURI
class that encapsulates this behaviour, but for now this works.
They only accept POSIX style paths and not Windows style paths.