Changeset 11308 for trunk/gli


Ignore:
Timestamp:
2006-03-08T10:37:03+13:00 (18 years ago)
Author:
kjdon
Message:

commented out Michael's print statements. Also, in runLocal(), commented out the test for type==NEW - used when checking the output and error streams. if there was an error in mkcol, then on windows this would block and never return.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/shell/GShell.java

    r10726 r11308  
    276276        }
    277277       
    278         System.err.println("Command: "+command);
    279278        ///ystem.err.println("Command: " + command);
    280279        fireMessage(type, Dictionary.get("GShell.Command") + ": " + command, status, null);
     
    289288        StringBuffer stdline_buffer = new StringBuffer();
    290289   
    291         while(type != GShell.NEW && processRunning(prcs) && !hasSignalledStop()) {
     290        while(/*type != GShell.NEW &&*/ processRunning(prcs) && !hasSignalledStop()) {
    292291        // Hopefully this doesn't block if the process is trying to write to STDOUT.
    293292        if((eisr!=null) && eisr.ready()) {
     
    404403
    405404    // Issue a processBegun event
    406     System.err.println("\nFiring process begun for " + type + "...");
     405    //ystem.err.println("\nFiring process begun for " + type + "...");
    407406    fireProcessBegun(type, status);
    408     System.err.println("Done process begun.");
     407    //ystem.err.println("Done process begun.");
    409408    if (Gatherer.isGsdlRemote) {
    410409        runRemote(args,bos);
     
    413412        runLocal(args,bos);
    414413    }
    415     System.err.println("Done runLocal().");
     414    //ystem.err.println("Done runLocal().");
    416415
    417416    if(status == OK) {
     
    477476
    478477    // We're done. 
    479     System.err.println("Firing process complete for " + type + "...");
     478    //ystem.err.println("Firing process complete for " + type + "...");
    480479    fireProcessComplete(type, status);
    481480    // Close bos
     
    545544    // Start the progres monitor if available
    546545    if(progress != null) {
    547         System.err.println("About to call progress.start().");
     546        //ystem.err.println("About to call progress.start().");
    548547        progress.start();
    549         System.err.println("Called progress.start().");
     548        //ystem.err.println("Called progress.start().");
    550549    }
    551550    // Fire an event
Note: See TracChangeset for help on using the changeset viewer.