Changeset 31988 for main/trunk/gli
- Timestamp:
- 2017-09-25T16:35:22+13:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/shell/GShell.java
r31733 r31988 484 484 485 485 else if(type == BUILD) { 486 // download the building directory (if gsdl server is remote)486 // download the index (no longer building) directory if gsdl server is remote 487 487 if ((Gatherer.isGsdlRemote) && (!Configuration.fedora_info.isActive())) { 488 488 if (progress!=null) { … … 492 492 if (!Gatherer.GS3){ 493 493 // Only need to download build.cfg file 494 File build_cfg_file = new File(CollectionManager.getLoadedCollectionBuildingDirectoryPath(), "build.cfg"); 494 //File build_cfg_file = new File(CollectionManager.getLoadedCollectionBuildingDirectoryPath(), "build.cfg"); 495 File build_cfg_file = new File(CollectionManager.getLoadedCollectionIndexDirectoryPath(), "build.cfg"); 495 496 Gatherer.remoteGreenstoneServer.downloadCollectionFile(col_name, build_cfg_file); 496 497 }else{ 497 498 // Only need to download buildConfig.xml file 498 File buildConfig_xml_file = new File(CollectionManager.getLoadedCollectionBuildingDirectoryPath(), "buildConfig.xml"); 499 //File buildConfig_xml_file = new File(CollectionManager.getLoadedCollectionBuildingDirectoryPath(), "buildConfig.xml"); 500 File buildConfig_xml_file = new File(CollectionManager.getLoadedCollectionIndexDirectoryPath(), "buildConfig.xml"); 499 501 Gatherer.remoteGreenstoneServer.downloadCollectionFile(col_name, buildConfig_xml_file); 500 502 }
Note:
See TracChangeset
for help on using the changeset viewer.