maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Petar Tahchiev (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (SUREFIRE-285) Build fails on Windows when the folder being executed has spaces in it.
Date Thu, 01 Feb 2007 13:18:44 GMT
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
         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

        

Mime
View raw message