Changeset 8313 for trunk/gli/src/org/greenstone/gatherer/shell/GShell.java
- Timestamp:
- 2004-10-13T14:48:20+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/shell/GShell.java
r8250 r8313 53 53 import org.greenstone.gatherer.cdm.CollectionMetaManager; 54 54 import org.greenstone.gatherer.cdm.CollectionMeta; 55 import org.greenstone.gatherer.m sm.GreenstoneArchiveParser;55 import org.greenstone.gatherer.metadata.DocXMLFileManager; 56 56 import org.greenstone.gatherer.util.StaticStrings; 57 57 import org.greenstone.gatherer.util.Utility; … … 542 542 } 543 543 544 // extract any new metadata from the archive directory.544 // Refresh the DocXMLFileManager 545 545 fireMessage(type, typeAsString(type) + "> " + Dictionary.get("GShell.Parsing_Metadata_Start"), status, null); 546 new GreenstoneArchiveParser(progress, this); 546 DocXMLFileManager.clearDocXMLFiles(); 547 DocXMLFileManager.loadDocXMLFiles(new File(Gatherer.c_man.getCollectionArchive())); 547 548 fireMessage(type, typeAsString(type) + "> " + Dictionary.get("GShell.Parsing_Metadata_Complete"), status, null); 548 549 } 549 550 550 else if(type == BUILD) {551 // else if(type == BUILD) { 551 552 552 // download the building directory (if gsdl server is remote)553 if (Gatherer.isGsdlRemote) {554 if (progress!=null) {555 progress.messageOnProgressBar("Downloading index data from server");556 }557 558 Utility.delete(Gatherer.c_man.getCollectionBuild()); // remove current build dir559 GathererApplet.download_url_zip(col_name,"building");560 Utility.unzip(col_name);561 562 if (progress!=null) {563 progress.messageOnProgressBar("");564 }565 566 }567 568 }553 // // download the building directory (if gsdl server is remote) 554 // if (Gatherer.isGsdlRemote) { 555 // if (progress!=null) { 556 // progress.messageOnProgressBar("Downloading index data from server"); 557 // } 558 559 // Utility.delete(Gatherer.c_man.getCollectionBuild()); // remove current build dir 560 // GathererApplet.download_url_zip(col_name,"building"); 561 // Utility.unzip(col_name); 562 563 // if (progress!=null) { 564 // progress.messageOnProgressBar(""); 565 // } 566 567 // } 568 569 // } 569 570 } 570 571
Note:
See TracChangeset
for help on using the changeset viewer.