[
http://jira.codehaus.org/browse/SUREFIRE-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brett Porter updated SUREFIRE-285:
----------------------------------
Fix Version/s: (was: 2.3)
2.4
> 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.4
>
> 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