You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2007/02/20 13:25:28 UTC

[jira] Updated: (SUREFIRE-285) Build fails on Windows when the folder being executed has spaces in it.

     [ http://jira.codehaus.org/browse/SUREFIRE-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated SUREFIRE-285:
----------------------------------

    Fix Version/s: 2.3

> Build fails on Windows when the folder being executed has spaces in it.
> -----------------------------------------------------------------------
>
>                 Key: SUREFIRE-285
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-285
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: plugin
>    Affects Versions: 2.3
>         Environment: Windows XP, Maven 2.0.4
>            Reporter: Petar Tahchiev
>             Fix For: 2.3
>
>         Attachments: MavenSurefire.patch
>
>
> Hi guys,
> I am a fan of the Fedora Core linux system, and I don't have any problem when trying to build the surefire plugin on that box, but today I sat on a Windows PC and I checkout the project in "My Documents" folder. I tried to build the plugin and one of the tests - UrlUtilTest failed. After examining the results it turned out that it was looking for url of the type:
> "file:/C:\My Documents\workspace\surefire" but found "file:/C:\My%20Documents\workspace\surefire", which I guess is because you have forgotten to escape the intervals. 
> Anyway I escaped the spaces and it works as a charm. 
> Please review accept my patch.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira