Changeset 5678


Ignore:
Timestamp:
2003-10-17T09:49:18+13:00 (21 years ago)
Author:
jmt12
Message:

Added a check whether the lock file has been successfully removed, and if not an error message is sent to console

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java

    r5657 r5678  
    199199    File lock_file = new File(Utility.getCollectionDir(Gatherer.config.gsdl_path) + collection.getName() + File.separator + LOCK_FILE);
    200200    lock_file.delete();
     201    if(lock_file.exists()) {
     202       System.err.println("Lockfile was not successfully deleted.");
     203    }
    201204    collection.msm.destroy();
    202205    collection = null;
Note: See TracChangeset for help on using the changeset viewer.