- Timestamp:
- 2016-07-22T15:16:54+12:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/GS2Construct.java
r30516 r30616 973 973 } 974 974 975 // Open database for reading 975 // Open database for reading. It may not exist if collection is pre-built without archives (such as demo collections) 976 976 String coll_db_file = GSFile.archivesDatabaseFile(this.site_home, collection, dbtype); 977 977 if (!coll_db.openDatabase(coll_db_file, SimpleCollectionDatabase.READ)) 978 978 { 979 logger.error("Could not open collection archives database. Somebody already using this database!"); 980 } 979 logger.error("Could not open collection archives database. Database doesn't exist or else somebody is already using it?"); 980 return; 981 } 982 // now we know we have an archives folder 981 983 String old_value = coll_db.getValue(oid); 982 984 String new_value = old_value.replace("<index-status>B", "<index-status>" + mark);
Note:
See TracChangeset
for help on using the changeset viewer.