Github user ejwhite922 commented on the issue:
https://github.com/apache/incubator-rya/pull/264
@kchilton2 do you have any preference on the suggested solutions?
---
Github user ejwhite922 commented on the issue:
https://github.com/apache/incubator-rya/pull/264
System.getProperty("user.home") returns paths with backslashes in Windows
(i.e. "C:\\Users\\" is returned). The parsing of this fails in a
call to String.replaceFirst(String regex, String
Github user kchilton2 commented on the issue:
https://github.com/apache/incubator-rya/pull/264
What does System.getProperty("user.home") look like when you're running on
Windows? If it has forward slashes, then the test should also use forward
slashes since you will be providing a
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
Github user pujav65 commented on the issue:
https://github.com/apache/incubator-rya/pull/264
I like what Eric did. Is the issue that the test is failing, or that this
shell command just doesn't work in windows? If the latter, then Eric's
approach seems fine. If the former, then
Github user ejwhite922 commented on the issue:
https://github.com/apache/incubator-rya/pull/264
An alternative could be to escape all '\\' characters instead of changing
to '/'. Would this be a better solution?
final String userHome = System.getProperty("user.home");
//
Github user asfgit commented on the issue:
https://github.com/apache/incubator-rya/pull/264
Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/668/
---
Github user ejwhite922 commented on the issue:
https://github.com/apache/incubator-rya/pull/264
asfbot build
---
Github user asfgit commented on the issue:
https://github.com/apache/incubator-rya/pull/264
Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/664/Failed
Tests: