Hi David

> On a possibly related question, do you know where the code we would have
to
> rewrite to support urls like
>
> jar:jar:jar:file://....!!!
> is? Maybe we can avoid unpacking completely!


I don't think this would work because JarFile does not allow you to
open an entry in a JarFile and create a JarFile from it again. Therefore
we have to expand it.

I see one chance to make it happen anyway:
- subclass JarFile
- add Constructor JarFile( JarFile pFile, JarEntry pEntry )
- this contructors expands the Entry in a temporary file and open it
  as regular JarFile
This would enable a client to use it without dealing with expanding the
file in a temporary directory and really go recursive through the archive.

Andy


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to