[ 
https://jira.codehaus.org/browse/JBEHAVE-712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mauro Talevi updated JBEHAVE-712:
---------------------------------

    Fix Version/s: 4.x

Current 3.x design converts all code locations to URLs, which don't allow 
spaces, automatically encoded to %20 chars.  Relative paths can contain spaces 
but not the base code location. 

For the moment, the only workaround is not use spaces in the code locations.  A 
new design solution will need to be found for 4.x. 
                
> Spaces in path breaks StoryFinder().findPaths()
> -----------------------------------------------
>
>                 Key: JBEHAVE-712
>                 URL: https://jira.codehaus.org/browse/JBEHAVE-712
>             Project: JBehave
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.5.4
>         Environment: JBehave 3.6-beta-3, Fedora 15, 64-bit, Java HotSpot 
> 1.6.0_30, 64-bit
>            Reporter: Marcin Zajaczkowski
>            Priority: Minor
>             Fix For: 4.x
>
>
> Constructions like:
> List<String> storyPaths = new 
> StoryFinder().findPaths(codeLocationFromClass(getClass()), "**/*.story", 
> "**/*examples.story");
> or
> List<String> storyPaths = new 
> StoryFinder().findPaths(codeLocationFromPath("somePath"), "**/*.story", 
> "**/*examples.story");
> doesn't work when there are spaces in a path (which are replaced to %20).
> An issue similar to JBEHAVE-389.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to