Re: Testing null ContextClassLoader with JAXP

Peter Donald <peter-4lf8KW9E9MLMqX/[email protected]> Tue, 23 Sep 2003 10:52:04 +1000
Newsgroups gmane.comp.java.spice.devel
Message-ID <[email protected]>
On Sun, 21 Sep 2003 08:44 pm, Mauro Talevi wrote:
> when writing a unit test with a null ContextClassLoader
> (eg in LogKitLoggerStoreFactory) where external classes
> (eg JAXP classes) are required - it fails to find them.
>
> Is there a way to let the LogKitLoggerStoreFactory ClassLoader
> find these classes?

As I use JDK1.4 it automatically finds them I guess. However to force them to 
be found I think you can probably add the jaxp as dependencies in project.xml 

Not sure - see if that works

-- 
Cheers,

Peter Donald
Sufficiently advanced science is 
 indistinguishable from magic" 
               -- Arthur C. Clarke



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf