Changeset 19230 for gli/trunk/src/org
- Timestamp:
- 2009-04-23T15:14:38+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/file/FileManager.java
r17612 r19230 171 171 file_queue.addJob(id, source, source_nodes, target, target_node, type); 172 172 if (Gatherer.isGsdlRemote) { 173 String collection_name = CollectionManager.getLoaded CollectionName();173 String collection_name = CollectionManager.getLoadedGroupQualifiedCollectionName(true); 174 174 175 175 // Perform the appropriate action based on the job type (RemoteGreenstoneServer will queue) … … 274 274 if (file.getAbsolutePath().startsWith(Gatherer.getCollectDirectoryPath()) && file.length() == 0) { 275 275 if (Gatherer.remoteGreenstoneServer.downloadCollectionFile( 276 CollectionManager.getLoaded CollectionName(), file).equals("")) {276 CollectionManager.getLoadedGroupQualifiedCollectionName(true), file).equals("")) { 277 277 // Something has gone wrong downloading the file 278 278 return; … … 350 350 if (Gatherer.isGsdlRemote) { 351 351 Gatherer.remoteGreenstoneServer.uploadCollectionFile( 352 CollectionManager.getLoaded CollectionName(), folder_file);352 CollectionManager.getLoadedGroupQualifiedCollectionName(true), folder_file); 353 353 } 354 354 } … … 357 357 if (Gatherer.isGsdlRemote) { 358 358 Gatherer.remoteGreenstoneServer.newCollectionDirectory( 359 CollectionManager.getLoaded CollectionName(), folder_file);359 CollectionManager.getLoadedGroupQualifiedCollectionName(true), folder_file); 360 360 } 361 361 } … … 418 418 if (Gatherer.isGsdlRemote) { 419 419 Gatherer.remoteGreenstoneServer.moveCollectionFile( 420 CollectionManager.getLoaded CollectionName(), collection_file, new_collection_file);420 CollectionManager.getLoadedGroupQualifiedCollectionName(true), collection_file, new_collection_file); 421 421 } 422 422 } … … 468 468 if (Gatherer.isGsdlRemote) { 469 469 Gatherer.remoteGreenstoneServer.uploadFilesIntoCollection( 470 CollectionManager.getLoaded CollectionName(), new File[] { new_file }, target_directory);470 CollectionManager.getLoadedGroupQualifiedCollectionName(true), new File[] { new_file }, target_directory); 471 471 } 472 472 // do a replace of old file with new file
Note:
See TracChangeset
for help on using the changeset viewer.