Mike Bresnahan wrote:

>Ok, I'm a booberhead for not including this information in my first post.
>Here is the URL to the article I mentioned.
>
>http://www7b.software.ibm.com/wsdd/library/techarticles/0112_deboer/deboer.h
>tml
>
>Mike
>
>  
>
>>-----Original Message-----
>>From: tclug-devel-admin at mn-linux.org
>>[mailto:tclug-devel-admin at mn-linux.org]On Behalf Of Perry Hoekstra
>>Sent: Thursday, October 16, 2003 3:44 PM
>>To: tclug-devel at mn-linux.org
>>Subject: [TCLUG-DEVEL] Java properties file question
>>
>>
>>Hello all:
>>
>>I have a class call Foo that needs to read a properties
>>file.  Foo is in a jar file called foo.jar.  foo.jar is in
>>an *.ear file called uberfoo.ear.  The foo.properties file
>>is also in the uberfoo.ear.
>>
>>I am having difficulties getting Foo to "see" the
>>foo.properties file due to class loader issues.  Does
>>anyone know of a way for Foo to see the properties file
>>event though it is not in the foo.jar file?
>>
>>Perry Hoekstra
>>
Yes, BEA also has published a classloader document which I have looked 
at numerous times.  I spent some time looking at Log4J's source code 
(ie. their Loader class) because it successfully solves this issue.  The 
log4j.jar file can access the log4j.properties file.

Perry Hoekstra


_______________________________________________
tclug-devel mailing list
tclug-devel at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-devel