[ http://jira.codehaus.org/browse/MSUREFIRE-73?page=all ]
     
Brett Porter closed MSUREFIRE-73:
---------------------------------

      Assign To: Brett Porter
     Resolution: Fixed
    Fix Version:     (was: 2.1.3)
                 2.2

somehow I already fixed this. Confirmed broken on trunk though.

> systemClassLoader.getResource returns null
> ------------------------------------------
>
>          Key: MSUREFIRE-73
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-73
>      Project: Maven 2.x Surefire Plugin
>         Type: Bug

>     Versions: 2.1.3
>     Reporter: Carlos Sanchez
>     Assignee: Brett Porter
>     Priority: Critical
>      Fix For: 2.2
>  Attachments: surefire-test.tgz
>
>
> This code fails in m2 and succeeds in ant or eclipse:
>         ClassLoader systemClassLoader = ClassLoader.getSystemClassLoader();
>         InputStream systemResourceAsStream = 
> systemClassLoader.getResourceAsStream( "test.txt" );
>         URL resource = systemClassLoader.getResource( name );
>         assertNotNull( resource );
> test.txt exists in target/test-classes

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to