[Openjnlp-devel] Resource updating fixed!
Brought to you by:
kherr
From: Kevin H. <ke...@na...> - 2002-05-12 21:16:13
|
There were a lot of problems with resource updating being done too often. Turns out it had to do with duplicate entries being in the resource map, which can be noticed by duplicate entries in entry.xml files. As an example, I use Cicerone (http://www.puppethead.com/java/apps/Cicerone.jnlp) for testing and I had cicerone.jar listed 83 times in the entry.xml file. Ugh. Anyway, it's been fixed by using the URL as the key in the resource map instead of the Reference, which has mutable properties like version and laziness. Just because a jar becomes lazy doesn't change the jar that's in the cache. People should notice quite an improvement in launching since cached resources are actually being used. My testing shows the entry.xml file cleans itself up when you launch an app. |