Changeset 9049
- Timestamp:
- 2005-02-15T17:23:48+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/shell/GShell.java
r9045 r9049 534 534 } 535 535 536 537 536 Utility.delete(Gatherer.c_man.getCollectionArchivesDirectoryPath()); // remove current archives 538 537 GathererApplet.download_url_zip(col_name,"archives"); … … 558 557 } 559 558 560 Utility.delete(Gatherer.c_man.getCollectionBuildingDirectoryPath()); // remove current build dir 561 GathererApplet.download_url_zip(col_name,"building"); 559 File buildDir = new File(Gatherer.c_man.getCollectionBuildingDirectoryPath()); 560 Utility.delete(buildDir); // remove current build dir 561 buildDir.mkdir(); //Make a clean dir 562 GathererApplet.download_url_zip(col_name,"building/build.cfg"); //Only need build.cfg 562 563 Utility.unzip(Gatherer.getCollectDirectoryPath(), col_name); 563 564
Note:
See TracChangeset
for help on using the changeset viewer.