You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2007/01/21 22:49:16 UTC

[jira] Updated: (SUREFIRE-74) Surefire is giving classloader preferences to main sources before test sources

     [ http://jira.codehaus.org/browse/SUREFIRE-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated SUREFIRE-74:
---------------------------------

    Affects Version/s: 2.0 (2.2 plugin)
        Fix Version/s: 2.0 (2.2 plugin)

> Surefire is giving classloader preferences to main sources before test sources
> ------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-74
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-74
>             Project: Maven Surefire
>          Issue Type: Bug
>    Affects Versions: 2.0 (2.2 plugin)
>         Environment: Running on trunk as of May 1
>            Reporter: Patrick Lightbody
>         Assigned To: Brett Porter
>            Priority: Blocker
>             Fix For: 2.0 (2.2 plugin)
>
>
> Giving the classloader preferences to the main files before the test files is opposite of what surefire used to do and different from all other test environments (Ant, IDEA, etc). This is a problem for the XWork build. To reproduce:
> cvs -d :pserver:guest@cvs.dev.java.net:/cvs login
> cvs -d :pserver:guest@cvs.dev.java.net:/cvs co xwork
> cd xwork
> mvn test
> If you're using the releases surefire plugin, they will pass just fine.
> If you're using the latest from trunk, they will fail. This is due to the fact that the tests are picking up src/java/xwork-default.xml instead of src/test/xwork-default.xml. 

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