You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Petar Tahchiev (JIRA)" <ji...@codehaus.org> on 2007/02/01 14:18:44 UTC

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

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

        

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

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SUREFIRE-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlos Sanchez updated SUREFIRE-285:
------------------------------------

    Attachment: SUREFIRE-285.patch

Improved patch with some doc, ready to be committed

> 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, SUREFIRE-285.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

        

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

Posted by "Daniel Murley (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SUREFIRE-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_90541 ] 

Daniel Murley commented on SUREFIRE-285:
----------------------------------------

Windows machines that have the JVM in a location with spaces are also effected, and consequently can not run surefire tests.

> 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, SUREFIRE-285.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

        

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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SUREFIRE-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Patch Submitted: [Yes]

> 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, SUREFIRE-285.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

        

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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ 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

        

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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ 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

        

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

Posted by "Dan Fabulich (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SUREFIRE-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Fabulich closed SUREFIRE-285.
---------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 2.4)

Can't reproduce this on latest 2.4 trunk; integration tested.

> 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, SUREFIRE-285.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

        

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

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SUREFIRE-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92752 ] 

Carlos Sanchez commented on SUREFIRE-285:
-----------------------------------------

daniel, this issue is not related to your problem, check SUREFIRE-310

> 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, SUREFIRE-285.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