Yes, the call simply returns null. It really doesn't make much sense.  When I run 
maven with the
-X option I can see the path being included, but when I try to access the resource, I 
get null.

WM

--- Dion Gillard <[EMAIL PROTECTED]> wrote:
> The resources aren't on the system classloader?
> 
> On Thu, 17 Jun 2004 12:39:04 -0700 (PDT), Webb Morris
> <[EMAIL PROTECTED]> wrote:
> > 
> > I have set up some resources for my unit tests in the unittest/resources area of my
> project.xml.
> > These resources are being correctly copied to the target/test-classes directory. 
> > However, when
> I
> > try to access these resources using:
> > 
> > ClassLoader.getSystemResourceAsStream(myresource)
> > 
> > The resource can not be found.
> > 
> > Any ideas?
> > 
> > WM
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - You care about security. So do we.
> > http://promotions.yahoo.com/new_mail
> > 
> > ---------------------------------------------------------------------
> > 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]
> 
> 



                
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to