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]

Reply via email to