Changeset 10374
- Timestamp:
- 2005-08-01T14:31:31+12:00 (19 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 3 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) { -
trunk/gli/src/org/greenstone/gatherer/util/StaticStrings.java
r10367 r10374 128 128 static final public String HTM_FILE_EXTENSION = ".htm"; 129 129 static final public String IDENTIFIER_VALUE = "identifier"; 130 static final public String IMAGES_FOLDER = "images";131 static final public String IMAGES_PATH_RELATIVE_TO_COLLECTION_PREFIX = "_httpcollection_/images/";132 130 static final public String IMAGES_PATH_RELATIVE_TO_GSDL_PREFIX = "_httpprefix_/collect/<col_name>/images/"; 133 131 static final public String IMPORT_FOLDER = "import"; -
trunk/gli/src/org/greenstone/gatherer/util/Utility.java
r10364 r10374 77 77 static final public String GLI_EXTENSION = ".col"; 78 78 79 /** Definition of an important directory name, in this case the images directory for the collection. */80 static final public String IMAGES_DIR = "images" + File.separator;81 79 /** Definition of an important directory name, in this case the import directory for the collection. */ 82 80 static final public String IMPORT_DIR = "import" + File.separator;
Note:
See TracChangeset
for help on using the changeset viewer.