Changeset 4347 for trunk/gli/src/org/greenstone/gatherer/collection
- Timestamp:
- 2003-05-27T14:54:29+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java
r4336 r4347 217 217 } 218 218 219 // ACTIVE_DIR/gcache/ 219 220 File gcache_dir_temp = new File(Utility.getCacheDir(a_dir)+"temp.dat"); 220 221 File gcache_dir = gcache_dir_temp.getParentFile(); … … 224 225 } 225 226 227 // ACTIVE_DIR/log/ 228 File log_dir_temp = new File(Utility.getLogDir(a_dir)+"temp.dat"); 229 File log_dir = log_dir_temp.getParentFile(); 230 log_dir.mkdirs(); 231 if(progress != null) { 232 progress.setNote(get("Log_Created")); 233 } 234 226 235 progress.setProgress(2); 227 236 … … 498 507 public String getCollectionIndex() { 499 508 return Utility.getIndexDir(Utility.getCollectionDir(Gatherer.config.gsdl_path) + collection.getName() + File.separator); 509 } 510 /** Constructs the absolute filename of the collection log directory, which should resemble "$GSDLHOME/collect/<col_name>/log/" 511 * @return A <strong>String</strong> containing the filename. 512 * @see org.greenstone.gatherer.Configuration 513 * @see org.greenstone.gatherer.Gatherer 514 * @see org.greenstone.gatherer.collection.Collection 515 * @see org.greenstone.gatherer.util.Utility 516 */ 517 public String getCollectionLog() { 518 return Utility.getLogDir(Utility.getCollectionDir(Gatherer.config.gsdl_path) + collection.getName() + File.separator); 500 519 } 501 520 /** Constructs the absolute filename of the collection metadata directory, which should resemble "$GSDLHOME/collect/<col_name>/metadata/"
Note:
See TracChangeset
for help on using the changeset viewer.