Changeset 9045 for trunk/gli/src/org/greenstone/gatherer/cdm
- Timestamp:
- 2005-02-15T15:39:48+13:00 (19 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer/cdm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/CollectionDesignManager.java
r8620 r9045 216 216 if (formats_changed && Gatherer.c_man.built()) { 217 217 // upload etc/collect.cfg to server to reflect changes 218 Utility.zipup( collection_name, Utility.CONFIG_FILE);218 Utility.zipup(Gatherer.getCollectDirectoryPath(), collection_name, Utility.CONFIG_FILE); 219 219 GathererApplet.upload_url_zip(collection_name, "etc"); 220 220 } -
trunk/gli/src/org/greenstone/gatherer/cdm/GeneralManager.java
r8606 r9045 473 473 public void actionPerformed(ActionEvent event) { 474 474 // Open an almost standard file browser to the images folder of the current collection 475 File images_folder = new File(Gatherer.c_man.getCollectionImages ());475 File images_folder = new File(Gatherer.c_man.getCollectionImagesDirectoryPath()); 476 476 // If images isn't already there, create it 477 477 if(!images_folder.exists()) { -
trunk/gli/src/org/greenstone/gatherer/cdm/MetadataSetView.java
r8386 r9045 300 300 // Re-read all the metadata.xml files to account for this case 301 301 MetadataXMLFileManager.clearMetadataXMLFiles(); 302 MetadataXMLFileManager.loadMetadataXMLFiles(new File(Gatherer.c_man.getCollectionImport ()));302 MetadataXMLFileManager.loadMetadataXMLFiles(new File(Gatherer.c_man.getCollectionImportDirectoryPath())); 303 303 } 304 304 } -
trunk/gli/src/org/greenstone/gatherer/cdm/SuperCollectionManager.java
r8884 r9045 196 196 current_coll_name = Gatherer.c_man.getCollection().getName(); 197 197 198 File gsdl_collection_directory; 199 if (Gatherer.GS3) { 200 gsdl_collection_directory = new File(Utility.getCollectDir(Configuration.gsdl3_path, Configuration.site_name)); 201 } 202 else { 203 gsdl_collection_directory = new File(Utility.getCollectDir(Configuration.gsdl_path)); 204 } 205 206 File[] possible_collections = gsdl_collection_directory.listFiles(); 198 File collect_directory = new File(Gatherer.getCollectDirectoryPath()); 199 File[] possible_collections = collect_directory.listFiles(); 207 200 for(int i = 0; possible_collections != null && i < possible_collections.length; i++) { 208 201 File collect_cfg_file = new File(possible_collections[i], Utility.CONFIG_FILE);
Note:
See TracChangeset
for help on using the changeset viewer.