You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dan Fabulich (JIRA)" <ji...@codehaus.org> on 2007/11/24 07:23:57 UTC

[jira] Closed: (SUREFIRE-164) Classpath in XML report is wrong

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

Dan Fabulich closed SUREFIRE-164.
---------------------------------

    Resolution: Fixed

Fixed in revision 597815.  Didn't wind up applying the patch because it required violating privacy of URLClassLoader; since we know the list of classpath URLs (we constructed it after all!) I passed the list into a system property where it can be reported.

java.class.path remains as it was (that IS the real -classpath used to launch java) but there's now also a "surefire.test.class.path" that contains what you probably expected: your tests and their dependencies.

> Classpath in XML report is wrong
> --------------------------------
>
>                 Key: SUREFIRE-164
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-164
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: xml generation
>            Reporter: Joerg Schaible
>            Priority: Minor
>             Fix For: 2.4
>
>         Attachments: patch.patch
>
>
> The XML report contains in the property java.class.path Maven's classpath, but not the class path used to execute the tests.

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