Changeset 4676


Ignore:
Timestamp:
2003-06-16T11:05:18+12:00 (21 years ago)
Author:
jmt12
Message:

Now debug will only be available if you run -debug.

File:
1 edited

Legend:

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

    r4675 r4676  
    109109     * @param gsdl_path The path to the gsdl directory, gathered from the startup arguments, and presented as a <strong>String</strong>.
    110110     * @param exec_path The path to the library executable, gathered from the startup arguments, and presented as a <strong>String</strong>.
    111      * @param debug <i>true</i> to print verbose debug messages to "debug.txt", <i>false</i> otherwise.
     111     * @param debug_enabled <i>true</i> to print verbose debug messages to "debug.txt", <i>false</i> otherwise.
    112112     * @param perl_path The path to the PERL compiler as a <strong>String</strong>. Necessary for windows platform versions.
    113113     * @param splash A reference to the splash screen.
     
    562562    if(debug != null) {
    563563        debug.println(message);
    564     }
    565     else {
    566564        System.err.println(message);
    567565    }
     
    571569    if(debug != null) {
    572570        exception.printStackTrace(debug);
    573     }
    574     else {
    575571        exception.printStackTrace();
    576572    }
Note: See TracChangeset for help on using the changeset viewer.