Changeset 16265
- Timestamp:
- 2008-07-01T18:51:07+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/collection/CollectionManager.java
r16251 r16265 558 558 559 559 // for remote case, scheduling causes an Exception on creating a new collection that 560 // can't be recovered from. 561 if (!Gatherer.isGsdlRemote ) {560 // can't be recovered from. For GS3, it doesn't work since it it trying to access etc/main.cfg 561 if (!Gatherer.isGsdlRemote && !Gatherer.GS3) { 562 562 scheduling(); 563 563 } … … 680 680 //try to obtain email address of Greenstone installation webmaster for - used to indicate "sender". 681 681 File mcfg = new File(LocalGreenstone.getDirectoryPath() + File.separator + "etc" + File.separator + "main.cfg"); 682 if(!mcfg.exists()) { 683 System.out.println("Cannot do scheduling, since there is no file: " + mcfg.getAbsolutePath() 684 + ".\nScheduling presently depends on GLI running from inside a GS2."); 685 return; 686 } 682 687 BufferedReader maincfg = new BufferedReader(new FileReader(mcfg)); 683 688 stmp = ""; … … 1214 1219 } 1215 1220 1216 if (!Gatherer.isGsdlRemote ) {1221 if (!Gatherer.isGsdlRemote && !Gatherer.GS3) { 1217 1222 //THIS LOOKS LIKE THE BEST PLACE TO TRY AND UPDATE .col FILES FOR EXISTING COLLECTIONS...Wendy 1218 1223 … … 1285 1290 } 1286 1291 1287 if (!Gatherer.isGsdlRemote ) {1292 if (!Gatherer.isGsdlRemote && !Gatherer.GS3) { 1288 1293 scheduling(); 1289 1294 }
Note:
See TracChangeset
for help on using the changeset viewer.