Changeset 1001
- Timestamp:
- Mar 27, 2009, 3:48:30 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/base2/net.sf.basedb.pluginutilities/trunk/src/net/sf/basedb/plugins/AbstractRunBinaryPlugin.java
r999 r1001 287 287 runBinary(); 288 288 storeResult(dc); 289 // dc.commit(); 290 response.setDone("Plug-in ended successfully"); 291 if (debug_output) System.err.println("run succesful"); 292 response.setError("All is okay, just make sure that BASE produces error.", 293 null); 289 if (debug_output) 290 { 291 System.err.println("run succesful"); 292 response.setError("All is okay, just forcing a BASE error.", null); 293 } 294 else 295 { 296 dc.commit(); 297 response.setDone("Plug-in ended successfully"); 298 } 294 299 } 295 300 catch (Throwable e) { … … 366 371 367 372 // debug settings. Note, if debug information is on, the exec 368 // directory is not removed after plug-in execution. The file name 369 // is modified in the constructor to contain the java temp 370 // directory, i.e. debug file is written into the java temp 371 // directory. The file name is (somewhat) arbitrarily chosen and may 372 // overwrite existing file. 373 // directory is not removed after plug-in execution, nor is the 374 // transformation committed into the database. The file name 375 // (debug_outputfile) is modified in the constructor to contain the 376 // java temp directory, i.e., the debug file is written into the 377 // java temp directory. The file name is (somewhat) arbitrarily 378 // chosen and may overwrite existing file. 373 379 protected Boolean debug_output=true; 374 380 private String debug_outputfile="ARBPdebug.txt";
Note: See TracChangeset
for help on using the changeset viewer.