Changeset 14305

Show
Ignore:
Timestamp:
06.08.2007 10:27:37 (12 years ago)
Author:
qq6
Message:

download 'buildConfig.xml' if Gatherer.GS3

Files:
1 modified

Legend:

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

    r14116 r14305  
    408408            progress.messageOnProgressBar("Downloading index data from server"); 
    409409            } 
    410  
    411             // Only need to download build.cfg file 
    412             File build_cfg_file = new File(CollectionManager.getLoadedCollectionBuildingDirectoryPath(), "build.cfg"); 
    413             RemoteGreenstoneServer.downloadCollectionFile(col_name, build_cfg_file); 
    414410             
     411            if (!Gatherer.GS3){ 
     412            // Only need to download build.cfg file 
     413            File build_cfg_file = new File(CollectionManager.getLoadedCollectionBuildingDirectoryPath(), "build.cfg"); 
     414            RemoteGreenstoneServer.downloadCollectionFile(col_name, build_cfg_file); 
     415            }else{ 
     416            // Only need to download buildConfig.xml file 
     417            File buildConfig_xml_file = new File(CollectionManager.getLoadedCollectionBuildingDirectoryPath(), "buildConfig.xml"); 
     418            RemoteGreenstoneServer.downloadCollectionFile(col_name, buildConfig_xml_file); 
     419            } 
     420 
    415421            if (progress!=null) { 
    416422            progress.messageOnProgressBar("");