Patrick,

Thanks for the response.  Sorry couldn't get back to you on Friday as our
Exchange Server was down.

I finally figured it out.  getResourceAsStream is looking for the properties
file in the classpath with the FULL package name.  After I added the file
with the full package name, everything works great!

It's a wonderful product.  I love that I can learn it quickly and use it
easily!

Thanks,
Albert

-----Original Message-----
From: Patrick LeBoutillier [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 27, 2006 7:45 PM
To: Kho, Albert
Cc: inline@perl.org
Subject: Re: inline::java question

Albert,

>
> One of the java classes uses
> LogFactory.class.getResourceAsStream(CONFIG_FILE) to read the properties
> file.  My test fails on this because it can not find the properties file
> even though it is in my classpath.  Where does inline::java look for this?

Inline::Java isn't does a few chdirs will building and loading, but
always comes back to the current working directory. Therefore it
should look in the same places it looks in regular Java.

If not, can you provide a small working example the demonstrates the bug?

Cheers,

Patrick

>
>
>
> Thanks for your help!
>
> Albert
>
>
>


-- 
=====================
Patrick LeBoutillier
Laval, Québec, Canada

Reply via email to