maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: [M2] Classloader Not Working Correctly
Date Tue, 24 Jan 2006 23:27:33 GMT
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 <brett@apache.org> 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: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message