Github user ejwhite922 commented on the issue:
https://github.com/apache/incubator-rya/pull/264
@kchilton2 @pujav65
Both the test and shell command fail in Windows since it will return a path
for rootedFile without file separators. Another option is we could set the
path back to its native file separators after the regex replacements are done.
final String userHome =
FilenameUtils.separatorsToUnix(System.getProperty("user.home"));
final Path rootedFile = Paths.get(
FilenameUtils.separatorsToSystem(file.replaceFirst("^~", userHome)) );
---