D
Daniel
Hi
I'm using WebStart to deploy an application consisting of several JAR
files. Each JAR file contains a VersionInfo.xml file in the META-INF
directory to identify the version of the JAR.
One of the JAR files (db.jar) contains a HSQLDB database which I need
to extract into the file system before usage. Maybe you know how to
solve the following two problems, both having to do the fact that I am
not able to address the JAR file db.jar as a whole:
1. As a workaround, I explicitely extract each db file within db.jar
with the getResourceAsStrem-Method of the class loader.
2. I would like to extract the VersionInfo.xml as well, however,
several equally named files exist and therfore I just get the first
one found, which is not the right one.
Any idea on how to address a JAR file within a WebStart application as
a whole to pass it to an unzipper would be highly appreciated.
Thanks
Daniel Frey
I'm using WebStart to deploy an application consisting of several JAR
files. Each JAR file contains a VersionInfo.xml file in the META-INF
directory to identify the version of the JAR.
One of the JAR files (db.jar) contains a HSQLDB database which I need
to extract into the file system before usage. Maybe you know how to
solve the following two problems, both having to do the fact that I am
not able to address the JAR file db.jar as a whole:
1. As a workaround, I explicitely extract each db file within db.jar
with the getResourceAsStrem-Method of the class loader.
2. I would like to extract the VersionInfo.xml as well, however,
several equally named files exist and therfore I just get the first
one found, which is not the right one.
Any idea on how to address a JAR file within a WebStart application as
a whole to pass it to an unzipper would be highly appreciated.
Thanks
Daniel Frey