Changeset 24296


Ignore:
Timestamp:
2011-07-20T18:40:18+12:00 (13 years ago)
Author:
ak19
Message:

Improvement to code committed previously: If the user has a non-standard collecthome (collecthome is not in the default location of the GS installation) a message appears informing the user of this at startup.

File:
1 edited

Legend:

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

    r24294 r24296  
    837837           
    838838            if(!open_collection_file_path.equals("")) {
    839                 // Inform the user that their collecthome is non-standard (not inside GS installation)
    840                 nonStandardCollectHomeMessage(open_collection_file_path, defaultColdir); // display message
    841 
    842839                if(!open_collection_file_path.endsWith("gli.col")) { // then it's a collect folder
    843840                    collectFolder = new File(open_collection_file_path);
     
    854851                    collectFolder = collectFolder.getParentFile();         
    855852                }
     853
     854                // Inform the user that their collecthome is non-standard (not inside GS installation)
     855                nonStandardCollectHomeMessage(collectFolder.getAbsolutePath(), defaultColdir); // display message
    856856            }       
    857857           
Note: See TracChangeset for help on using the changeset viewer.