On Wed, Jun 12, 2002 at 05:08:41PM -0400, Don Dietrick wrote:
> The problem with the 1.4 plugin is slightly different. With 1.3, the
> getResource() call would return a URL to the cached jar file stored in
> the plugin cache. With 1.4, the getResource() call returns a URL to the
> jar on the server, which the JarInputReader seems to be OK with,
> acknowledging that the resource (file) exists. The problem occurs when
> the JarInputReader tries to read the file, resulting in a ZipException,
> as if the file is not valid.
I had a similar problem, and patched JarInputReader.java line 72 from
openmap-4.5.4:
jarFile = new JarFile(URLDecoder.decode(jarFileName, "UTF-8"));
Regards,
Alessandro
-- Alessandro Foresi Advanced Computer Systems S.p.A. Space Division Via della Bufalotta, 378 00139 Rome (Italy) -- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Wed Oct 1 11:56:57 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT