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 23:14:18 UTC

[jira] Updated: (SUREFIRE-106) Classloading problem for getting a resource

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

Brett Porter updated SUREFIRE-106:
----------------------------------

    Affects Version/s: 1.5.3 (2.1.3 plugin)

> Classloading problem for getting a resource
> -------------------------------------------
>
>                 Key: SUREFIRE-106
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-106
>             Project: Maven Surefire
>          Issue Type: Bug
>    Affects Versions: 1.5.3 (2.1.3 plugin), 2.0 (2.2 plugin)
>         Environment: Maven 2.0.4
> Windows XP
>            Reporter: Wim Deblauwe
>         Assigned To: Kenney Westerhof
>            Priority: Blocker
>             Fix For: 2.3
>
>         Attachments: maven-surefire-plugin-2.2-UseSystemClassLoader.patch, surefire-2.0-UseSystemClassLoader.patch, surefire-test.zip, workaround-for-fork.zip
>
>
> We are using Betwixt and some of our unit tests fail when run using
> surefire, but run fine in IntelliJ or Maven 1. Betwixt looks for
> descriptors with the name of the class + .betwixt to control how
> something is written out in XML. It uses the construct:
> myClass.getResource() to find the .betwixt file.
> E.g. com.mycomp.MyClass -> com/mycomp/MyClass.betwixt
> We have a betwixt file for the java.util.Date class. However, betwixt
> seems to be unable to pick it up when using surefire. I have created a
> small test that shows the problem and have attached it.
> I tried with version 2.2 using different configurations (never, once, pertest) and with version 2.1.3 (default configuration)

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