Changeset 10374 for trunk/gli/src/org/greenstone/gatherer/cdm
- Timestamp:
- 2005-08-01T14:31:31+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/GeneralManager.java
r10345 r10374 44 44 import org.greenstone.gatherer.gui.OpenCollectionDialog; 45 45 import org.greenstone.gatherer.gui.WarningDialog; 46 import org.greenstone.gatherer.remote.RemoteGreenstoneServer; 46 47 import org.greenstone.gatherer.util.StaticStrings; 47 48 … … 500 501 // Copy the file 501 502 try { 502 Gatherer.f_man.getQueue().copyFile(file, new File(images_folder, file.getName()), null); 503 File collection_image_file = new File(images_folder, file.getName()); 504 Gatherer.f_man.getQueue().copyFile(file, collection_image_file, null); 505 506 // If we're using a remote Greenstone server, upload the image 507 if (Gatherer.isGsdlRemote) { 508 RemoteGreenstoneServer.uploadCollectionFile(collection_image_file); 509 } 503 510 } 504 511 catch(Exception exception) {
Note:
See TracChangeset
for help on using the changeset viewer.