You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2008/10/20 11:14:46 UTC

[jira] Resolved: (LUCENE-1416) Ant contrib test can fail if there is a space in path to lucene project

     [ https://issues.apache.org/jira/browse/LUCENE-1416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless resolved LUCENE-1416.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.9
         Assignee: Michael McCandless
    Lucene Fields: [New, Patch Available]  (was: [Patch Available, New])

Thank Mark, I just committed this!

> Ant contrib test can fail if there is a space in path to lucene project
> -----------------------------------------------------------------------
>
>                 Key: LUCENE-1416
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1416
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/*
>            Reporter: Mark Miller
>            Assignee: Michael McCandless
>            Priority: Trivial
>             Fix For: 2.9
>
>         Attachments: LUCENE-1416.patch, LUCENE-1416.patch
>
>
> A couple contrib ant tests get the path to test files through a URL object, and so the path is URL encoded. Normally fine, but if you have a space in your path (/svn stuff/lucene/contrib/ant) then it will have %20 for the space and (at least on my Ubuntu system) the test will fail with filenotfound. This patch simply replaces all %20 with " ". Not sure if we want/need to take it any further.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org