lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1416) Ant contrib test can fail if there is a space in path to lucene project
Date Wed, 15 Oct 2008 10:35:44 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-1416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639792#action_12639792
] 

Mark Miller commented on LUCENE-1416:
-------------------------------------

Yeah, thats why I mention we might want to take it further. Just wasn't 
sure if another char was actually a problem. We can use URLDecoder to 
hit everything though right? I'll put up a new patch when I get a chance.


> 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
>            Priority: Trivial
>         Attachments: 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