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

Reply via email to