Changeset 24296

Show
Ignore:
Timestamp:
20.07.2011 18:40:18 (8 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.

Files:
1 modified

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