Ignore:
Timestamp:
2023-04-20T20:30:20+12:00 (13 months ago)
Author:
anupama
Message:

One part of what Dr Bainbridge wanted done: on Cancel press (though perl propagates it as an error), *after* the SafeProcess has been terminated a processComplete() is fired: then we check if it the type was an import process and a cancel/error occurred, and if so, we check if archives_keepold exists. If it exists, we make this the archivse folder after getting rid of any archives of the prematurely terminated import process.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/shell/GShell.java

    r31988 r37690  
    713713    // instance of this class for each stream. However, since multiple instances of this LineByLineHandler
    714714    // are firing off events to the same outputstream object (bos) in their own threads, several objects,
    715     // not just bost, needed to be made threadsafe. So gotLine needs to be synchronized, and created a
     715    // not just bos, needed to be made threadsafe. So gotLine needs to be synchronized, and created a
    716716    // synchronized setStatus() method above too.
    717717    // This class also handles exceptions that may occur when reading from the perl process' stderr or stout.
Note: See TracChangeset for help on using the changeset viewer.