Updating the jar file
Would it be possible to implement a similar scheme for access to .jar?For platforms where mmap is not supported, such as Windows, the jar could be read entirely in memory upon first use.I tried to do this using touch, however, this did not work because the date time stamp does not go down to milliseconds...Andreas -----Original Message----- From: Keith Hatton [mailto:[hidden email Sent: Monday, To: Ant Users List Subject: RE: updating jar file with existing file: overwrite? Make sure that the "new" versions of the files you wish to include really do have later date/time stamps as that is the basis for applying the update.Name: bo T120536 Date: 03/14/2001 java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Java Hot Spot(TM) Client VM (build 1.3.0, mixed mode) Occasionnally, when updating a jar file while a java program uses it, said jave program throws spurious Class Not Found errors.This is somewhat surprising, as similar problems don't occur when for instance updating a shared library (file) while programs use it.||
Would it be possible to implement a similar scheme for access to .jar?]]
EVALUATION [email protected] 2001-06-27 Reading in an entire jar file is not acceptable, as it increases the memory requirements of a running java application, possibly tremendously.
And ZIPs only support a granularity of two seconds.