|
From: Edvard S. <edv...@xs...> - 2003-05-12 17:50:51
|
The easiest way should be using the java.util.jar.JarFile This is what I'm currently using to read the deployment descriptor as it first was proposed. Then I read the files for Jetspeed the same way. Jetspeed also has the problem that most methods passes a File as parameter, but it is quite easy to get around to that. Maybe we should try to get the interface from MMBase extended so we could pass an InputSource in stead of a File. The InputSource should be the way to pass references to XML files. -----Original Message----- From: imb...@li... [mailto:imb...@li...] On Behalf Of Kees Jongenburger Sent: maandag 12 mei 2003 12:57 To: imb...@li... Subject: Re: [Imbrium-developer] dynamic deployment of portlets On Monday 12 May 2003 12:32 pm, Gerard van de Looi wrote: > Isn't is possible to list all files in de config/applications > directory within the archive? Well if you know it's a archive yes, but what you wil get back are not files but ZipEntries and no functions to actualy list directories by definition ZipEntries with names terminating with "/" are directories so its possible to list all zip entries stating with config/applications but MMBase often passed File as paramters to function. so if you realy want the files you will need to unzip/jar the archive ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Imbrium-developer mailing list Imb...@li... https://lists.sourceforge.net/lists/listinfo/imbrium-developer |