Changeset 7325 for trunk


Ignore:
Timestamp:
2004-05-13T16:39:04+12:00 (20 years ago)
Author:
kjdon
Message:

added CONVERT as a process type (for gs3 conversion script)

File:
1 edited

Legend:

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

    r7102 r7325  
    7878    static final public int EXPORT = 3;
    7979    /** Element in process type enumeration. */
    80     static final public int OTHER = 4;
     80    static final public int CONVERT = 4;
     81    /** Element in process type enumeration. */
     82    static final public int OTHER = 5;
    8183    /** Element in status type enumeration. */
    8284    static final public int ERROR = 0;
     
    9294    /** Element in process type name enumeration */
    9395    static public String GSHELL_EXPORT = "gshell_export";
     96    /** Element in process type name enumeration */
     97    static public String GSHELL_CONVERT = "gshell_convert";
    9498
    9599    /** 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
     
    173177        command = command + args[i] + " ";
    174178        }
     179        Gatherer.println("Command: "+command);
    175180        ///ystem.err.println("Command: " + command);
    176181        fireMessage(type, Dictionary.get("GShell.Command") + ": " + command, status, null);
     
    452457        name= Dictionary.get("GShell.Export");
    453458        break;
     459    case CONVERT:
     460        name = Dictionary.get("GShell.Convert");
     461        break;
    454462    default:
    455463        name = Dictionary.get("GShell.Other");
Note: See TracChangeset for help on using the changeset viewer.