lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-1416) Ant contrib test can fail if there is a space in path to lucene project
Date Mon, 20 Oct 2008 09:14:46 GMT

     [ 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


Mime
View raw message