[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #GJP-399614]: Zipped bundles + isl and exit



HI Jonathon,

> 
> I've been having problems with zipped bundles (regardless of
> extension) and isl scripts... but I seem to have fixed things by doing:
> 
> [ inserting at ucar.unidata.idv.ui.ImageGenerator's processTagBundle
> method (line ~1824) ]
> } else if (getArgsManager().isZidvFile(bundleFile)) {
> Hashtable properties = new Hashtable();
> boolean ask = getStore().get(PREF_ZIDV_ASK, true);
> getStore().put(PREF_ZIDV_ASK, false);
> getPersistenceManager().decodeXmlFile(bundleFile, "", false,
> false, properties);
> getStore().put(PREF_ZIDV_ASK, ask);
> 
> [ inserting at ucar.unidata.idv.IdvPersistenceManager's
> updateDataPaths method (line ~3162) ]
> if (!getArgsManager().getIsOffScreen() && editableComps.size() > 0) {
> 
> Basically it just looks like processTagBundle was blissfully unaware
> of zipped bundles.

Yes, it was in bliss. Fixed now.

> 
> ...and it's really trivial, but could I get
> ucar.unidata.idv.ArgsManager changed so that it uses
> "getIdv().exit(..)" instead of System.exit() at lines 458, 603, and
> 967? It will quantifiably* improve my life.
> 

Done.

-Jeff


Ticket Details
===================
Ticket ID: GJP-399614
Department: Support IDV
Priority: Normal
Status: Closed