Hi!

Aaron Mulder wrote:
>         You can, however, use JarFile and JarInputStream objects as long
> as you're careful to close everything properly - I got it to work on
> Windows too (where there were problems with the JAR file being locked).
> We may want to make "file:" URLs a special case and handle them ourselves
> to avoid the bugs you refer to.  This would also obviate the need for the
> /tmp directory since nothing would be locked.

If only... the problem is not reading the XML files, in which case the
above works well. The problem is URLClassLoader, which messes things up
bigtime, i.e. loading the classes. And that is unavoidable (even if you
try to give it your own URL stream handler it happily throws that away
and uses the default jar handler, which is f*d up).

So, no go.

/Rickard

-- 
Rickard �berg

Email: [EMAIL PROTECTED]

Reply via email to