Changeset 16129
- Timestamp:
- 2008-06-24T17:09:38+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/shell/GShell.java
r15154 r16129 90 90 static final public int EXPLODE = 6; 91 91 static final public int SRCREPLACE = 7; // for replacing source docs with their html 92 static final public int SCHEDULE = 8; 92 93 93 94 /** Elements in status type enumeration. */ … … 105 106 static public String GSHELL_EXPLODE = "gshell_explode"; 106 107 static public String GSHELL_SRCREPLACE = "gshell_srcreplace"; // for replacing source docs with their html versions 108 static public String GSHELL_SCHEDULE = "gshell_schedule"; 107 109 108 110 /** Determine if the given process is still executing. It does this by attempting to throw an exception - not the most efficient way, but the only one as far as I know … … 346 348 String out_name = null; 347 349 BufferedOutputStream bos = null; 348 if(type == IMPORT || type == BUILD ) {350 if(type == IMPORT || type == BUILD || type == SCHEDULE) { 349 351 if(type == IMPORT) { 350 352 out_name = (String) Gatherer.c_man.getCollection().import_options.getValue("out"); 351 353 } 352 else {354 else if(type == BUILD) { 353 355 out_name = (String) Gatherer.c_man.getCollection().build_options.getValue("out"); 356 } 357 else { // SCHEDULE 358 out_name = (String) Gatherer.c_man.getCollection().schedule_options.getValue("out"); 354 359 } 355 360 if(out_name != null && out_name.length() > 0) { … … 608 613 name = "replace_srcdoc_with_html.pl"; 609 614 break; 615 case SCHEDULE: 616 name = "schedule.pl"; 617 break; 610 618 default: 611 619 name = "";
Note:
See TracChangeset
for help on using the changeset viewer.