Ignore:
Timestamp:
2017-04-06T15:24:43+12:00 (7 years ago)
Author:
ak19
Message:

Removed debugging and other minor cosmetic changes after successful Windows testing of the new SafeProcess class used by the modified GS2PerlConstructor.runPerlCommand() method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/build/GS2PerlConstructor.java

    r31574 r31578  
    3636    public static final int BUILD = 2;
    3737    public static final int ACTIVATE = 3;
    38     public static final int MODIFY_METADATA_SERVER = 4;
     38    public static final int MODIFY_METADATA_SERVER = 4;
    3939
    4040    /**
     
    4949    /** the path environment variable */
    5050    protected String path = null;
     51
    5152
    5253    public GS2PerlConstructor(String name)
     
    409410    sendMessage(new ConstructionEvent(this, GSStatus.INFO, "command = " + command_str));
    410411   
    411    
    412     logger.info("### Running command = " + command_str);
     412    //logger.info("### Running command = " + command_str);
    413413
    414414    // This is where we create and run our perl process safely
     
    450450        // std in of java, as before.
    451451
    452         logger.info("**** BEFORE runProcess.");
    453452        perlProcess.runProcess();
    454         logger.info("**** AFTER runProcess:");
    455453       
    456454    // The original runPerlCommand() code had an ineffective check for whether the cmd had been cancelled
     
    545543        }
    546544
    547 logger.info("### old runPerlCmd, command = " + command_str);
     545        // logger.info("### old runPerlCmd, command = " + command_str);
    548546
    549547        sendMessage(new ConstructionEvent(this, GSStatus.INFO, "command = " + command_str));
Note: See TracChangeset for help on using the changeset viewer.