I can't be sure without seeing more information about the specific tests that are failing with the various options (lines of code that are breaking) and the Surefire/JUnit debug/error logs with more detailed info (from target/surefire-reports).
Can you provide that? Then perhaps we can help you solve your problems. Wayne On 5/21/07, Grant Ingersoll <[EMAIL PROTECTED]> wrote:
I am having some trouble with class loading in tests. For some tests in my set of tests, the only way the pass via M2 is if I set useSystemClassLoader to true per http://jira.codehaus.org/browse/ SUREFIRE-106. On the other hand, some other subset of tests only pass if useSystemClassLoader is false. One thing I see that is strange is, when useSystemClassLoader is true, my target/classes directory occurs before target/test-classes in the classpath, meaning the resources in src/main/resources are resolved before the ones in src/test/resources. Has anyone else run into this or have suggestions on what to do? Thanks, Grant -------------------------- Grant Ingersoll Center for Natural Language Processing http://www.cnlp.org/tech/lucene.asp Read the Lucene Java FAQ at http://wiki.apache.org/jakarta-lucene/ LuceneFAQ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
