Re: [M2] Classloader Not Working Correctly

2006-01-24 Thread Brett Porter
And the other project is a dependency of the current project, and you use OtherProjectsClass.class.getResource() ? I'm pretty sure this works. Perhaps you could provide us with an integration test that demonstrates the problem? - Brett Thomas Van de Velde wrote: > A unit test in a project tries

Re: [M2] Classloader Not Working Correctly

2006-01-21 Thread Thomas Van de Velde
A unit test in a project tries to load a resource from another project. Thomas On 1/20/06, Brett Porter <[EMAIL PROTECTED]> wrote: > > Inside a plugin or a test? > > Thomas Van de Velde wrote: > > Hi, > > > > I believe the M2 classloader is not working as it should. > > > > I have a JAR dependenc

Re: [M2] Classloader Not Working Correctly

2006-01-20 Thread Brett Porter
Inside a plugin or a test? Thomas Van de Velde wrote: > Hi, > > I believe the M2 classloader is not working as it should. > > I have a JAR dependency with a file stored inside. I cannot load this file > as a resource even if the project has a dependency on this JAR. This works > in Eclipse tho

[M2] Classloader Not Working Correctly

2006-01-20 Thread Thomas Van de Velde
Hi, I believe the M2 classloader is not working as it should. I have a JAR dependency with a file stored inside. I cannot load this file as a resource even if the project has a dependency on this JAR. This works in Eclipse though. Thomas