You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Maria Odea Ching (JIRA)" <ji...@codehaus.org> on 2005/12/20 07:37:37 UTC

[jira] Moved: (MSUREFIRE-8) Surefire interferes with ClassLoader.getResource() and Class.getResourceAsStream() calls.

     [ http://jira.codehaus.org/browse/MSUREFIRE-8?page=all ]

Maria Odea Ching moved MNG-682 to MSUREFIRE-8:
----------------------------------------------

        Version:     (was: 2.0-beta-1)
    Fix Version:     (was: 2.0-beta-2)
      Component:     (was: maven-surefire-plugin)
       Workflow: jira  (was: Maven)
            Key: MSUREFIRE-8  (was: MNG-682)
        Project: Maven 2.x Surefire Plugin  (was: Maven 2)

> Surefire interferes with ClassLoader.getResource() and Class.getResourceAsStream() calls.
> -----------------------------------------------------------------------------------------
>
>          Key: MSUREFIRE-8
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-8
>      Project: Maven 2.x Surefire Plugin
>         Type: Bug

>  Environment: Using a 2.0-beta-1 clean build (svn checkout on 20050730-1345) on linux (and XP) .
>     Reporter: Joakim Erdfelt
>     Assignee: John Casey
>  Attachments: needs-classloader-clean.tar.gz, needs-classloader.tar.gz
>
>
> When using the Class.getResourceAsStream() or ClassLoader.getResourceAsStream() method calls in your own project, the tests succeed outside of m2 (in eclipse, on junit command line, and ant build).  But all tests fail when running under Surefire.
> A simple m2 project demonstrating this is attached.

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org