[ 
https://issues.apache.org/jira/browse/RYA-447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16334828#comment-16334828
 ] 

ASF GitHub Bot commented on RYA-447:
------------------------------------

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\\<user.name>" is returned).  The parsing of this fails in a 
call to String.replaceFirst(String regex, String replacement) since the 
backslashes aren't escaped as needed for the replacement param string.  The 
paths used in the unit test don't affect this since 
System.getProperty("user.home") is what's causing it to fail (called inside 
RyaCommand.loadData).


> Rya Shell Windows user.home error
> ---------------------------------
>
>                 Key: RYA-447
>                 URL: https://issues.apache.org/jira/browse/RYA-447
>             Project: Rya
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 3.2.12
>         Environment: Windows build
>            Reporter: Eric White
>            Assignee: Eric White
>            Priority: Major
>             Fix For: 3.2.12
>
>
> When building rya.shell under Windows, loading tests fail due to malformed 
> user.home paths.  It appears that Windows file separators ('\') are causing 
> problems when being used as part of a regex replacement operation since 
> they're not being escaped.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to