You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mark Hobson (JIRA)" <ji...@codehaus.org> on 2007/04/24 18:09:26 UTC

[jira] Created: (MNG-2960) Some maven-project tests fail under maven-surefire-plugin 2.3

Some maven-project tests fail under maven-surefire-plugin 2.3
-------------------------------------------------------------

                 Key: MNG-2960
                 URL: http://jira.codehaus.org/browse/MNG-2960
             Project: Maven 2
          Issue Type: Bug
          Components: Bootstrap & Build
    Affects Versions: 2.0.7
         Environment: Windows XP, Cygwin, Java 1.5.0_11
            Reporter: Mark Hobson
         Attachments: patch.txt

When maven-project tests are run on Windows, within a path with spaces, using maven-surefire-plugin 2.3, some tests fail with test resource path encoding problems.

This appears to be due to maven-surefire-plugin 2.3 using a different context classloader to 2.2.  IIRC the system classloader has different behaviour to URLClassLoader with regard to escaping spaces, so the attached patch uses the correct URL to File conversion.

-- 
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: (MNG-2960) Some maven-project tests fail under maven-surefire-plugin 2.3

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl closed MNG-2960.
------------------------------

    Resolution: Fixed

Applied.

> Some maven-project tests fail under maven-surefire-plugin 2.3
> -------------------------------------------------------------
>
>                 Key: MNG-2960
>                 URL: http://jira.codehaus.org/browse/MNG-2960
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Bootstrap & Build
>    Affects Versions: 2.0.7
>         Environment: Windows XP, Cygwin, Java 1.5.0_11
>            Reporter: Mark Hobson
>         Attachments: patch.txt
>
>
> When maven-project tests are run on Windows, within a path with spaces, using maven-surefire-plugin 2.3, some tests fail with test resource path encoding problems.
> This appears to be due to maven-surefire-plugin 2.3 using a different context classloader to 2.2.  IIRC the system classloader has different behaviour to URLClassLoader with regard to escaping spaces, so the attached patch uses the correct URL to File conversion.

-- 
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