Ignore:
Timestamp:
2004-01-27T16:35:34+13:00 (20 years ago)
Author:
jmt12
Message:

More modifications to mirroring including testing for a valid version of Wget (and complaining if its missing or it is old) and rearranging buttons on the GProgressBar

Location:
trunk/gli/src/org/greenstone/gatherer/file
Files:
3 edited

Legend:

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

    r6539 r6622  
    105105
    106106    public String getBrowserCommand(String url) {
    107     System.err.println("Get browser command: " + url);
     107    Gatherer.println("Get browser command: " + url);
    108108    // First off we try to retrieve one from the configuration
    109109    String command = Gatherer.config.getPreviewCommand();
     
    111111    if(command != null && command.length() > 0) {
    112112        command = command.replaceAll("%1", url);
    113         System.err.println("Result = " + command);
     113        Gatherer.println("Result = " + command);
    114114        return command;
    115115    }
     
    164164    // if we haven't got a command by now, we'll never get one
    165165    if (command == null) {
    166         System.err.println("Result = " + command);
     166        Gatherer.println("Result = " + command);
    167167        return null;
    168168    }
    169169    // Replace %1 with the url in quotes
    170170    command = command.replaceAll(FILENAME_ARG, url);
    171     System.err.println("Result = " + command);
     171    Gatherer.println("Result = " + command);
    172172    return command;
    173173    }
  • trunk/gli/src/org/greenstone/gatherer/file/FileNode.java

    r6255 r6622  
    218218    /** Adds child to the receiver at index. */
    219219    public void insert(MutableTreeNode child, int index) {
    220     ///ystem.err.println("Insert " + child + " in " + this + " at index " + index + " [Model: " + model + "]");
     220    Gatherer.println("Insert " + child + " in " + this + " at index " + index + " [Model: " + model + "]");
    221221    //map();
    222222    try {
  • trunk/gli/src/org/greenstone/gatherer/file/FileSystemModel.java

    r6590 r6622  
    6767            stale_node = (FileNode) stale_object;
    6868        }
    69         Gatherer.print("Searching for '" + stale_node + "': ");
     69        Gatherer.print("Searching for '" + stale_object + "': ");
    7070        // Locate the fresh node by searching current's children. Remember to ensure that current is mapped.
    7171        current.map();
Note: See TracChangeset for help on using the changeset viewer.