You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Angel Marin (JIRA)" <ji...@apache.org> on 2008/11/16 12:47:47 UTC

[jira] Created: (LUCENENET-163) Platform dependent path handling

Platform dependent path handling
--------------------------------

                 Key: LUCENENET-163
                 URL: https://issues.apache.org/jira/browse/LUCENENET-163
             Project: Lucene.Net
          Issue Type: Bug
         Environment: trunk r712652
            Reporter: Angel Marin


There's a couple places in FSDirectory and SegmentInfos where file paths are handled with hardcoded '\'s instead of the platform independent Path.DirectorySeparatorChar.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (LUCENENET-163) Platform dependent path handling

Posted by "Angel Marin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENENET-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Angel Marin updated LUCENENET-163:
----------------------------------

    Attachment: lucene-paths.patch

> Platform dependent path handling
> --------------------------------
>
>                 Key: LUCENENET-163
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-163
>             Project: Lucene.Net
>          Issue Type: Bug
>         Environment: trunk r712652
>            Reporter: Angel Marin
>         Attachments: lucene-paths.patch
>
>
> There's a couple places in FSDirectory and SegmentInfos where file paths are handled with hardcoded '\'s instead of the platform independent Path.DirectorySeparatorChar.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (LUCENENET-163) Platform dependent path handling

Posted by "Digy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENENET-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Digy closed LUCENENET-163.
--------------------------

    Resolution: Fixed

I applied the patch and all NUnit test pass.
DIGY

> Platform dependent path handling
> --------------------------------
>
>                 Key: LUCENENET-163
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-163
>             Project: Lucene.Net
>          Issue Type: Bug
>         Environment: trunk r712652
>            Reporter: Angel Marin
>            Assignee: Digy
>         Attachments: lucene-paths.patch
>
>
> There's a couple places in FSDirectory and SegmentInfos where file paths are handled with hardcoded '\'s instead of the platform independent Path.DirectorySeparatorChar.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (LUCENENET-163) Platform dependent path handling

Posted by "Digy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENENET-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Digy reassigned LUCENENET-163:
------------------------------

    Assignee: Digy

> Platform dependent path handling
> --------------------------------
>
>                 Key: LUCENENET-163
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-163
>             Project: Lucene.Net
>          Issue Type: Bug
>         Environment: trunk r712652
>            Reporter: Angel Marin
>            Assignee: Digy
>         Attachments: lucene-paths.patch
>
>
> There's a couple places in FSDirectory and SegmentInfos where file paths are handled with hardcoded '\'s instead of the platform independent Path.DirectorySeparatorChar.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (LUCENENET-163) Platform dependent path handling

Posted by "Digy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENENET-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648009#action_12648009 ] 

Digy commented on LUCENENET-163:
--------------------------------

I faced with the same problem while I was testing Lucene.Net on Mono (http://www.mono-project.com/).

I think, -allhough Lucene.Net aims MS.Net platform- such small changes should be accepted to support both environment as long as no special coding is required.


DIGY


> Platform dependent path handling
> --------------------------------
>
>                 Key: LUCENENET-163
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-163
>             Project: Lucene.Net
>          Issue Type: Bug
>         Environment: trunk r712652
>            Reporter: Angel Marin
>         Attachments: lucene-paths.patch
>
>
> There's a couple places in FSDirectory and SegmentInfos where file paths are handled with hardcoded '\'s instead of the platform independent Path.DirectorySeparatorChar.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.