Changeset 14305


Ignore:
Timestamp:
2007-08-06T10:27:37+12:00 (15 years ago)
Author:
qq6
Message:

download 'buildConfig.xml' if Gatherer.GS3

File:
1 edited

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("");
Note: See TracChangeset for help on using the changeset viewer.