Changeset 8997


Ignore:
Timestamp:
2005-02-10T16:34:24+13:00 (19 years ago)
Author:
mdewsnip
Message:

Uncommented some fairly vital code that I have no idea why I commented out... :-(

File:
1 edited

Legend:

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

    r8652 r8997  
    549549        }
    550550
    551 //      else if(type == BUILD) {
    552        
    553 //      // download the building directory (if gsdl server is remote)           
    554 //      if (Gatherer.isGsdlRemote) {
    555 //          if (progress!=null) {
    556 //          progress.messageOnProgressBar("Downloading index data from server");
    557 //          }
    558 
    559 //          Utility.delete(Gatherer.c_man.getCollectionBuild()); // remove current build dir
    560 //          GathererApplet.download_url_zip(col_name,"building");
    561 //          Utility.unzip(col_name);
    562 
    563 //          if (progress!=null) {
    564 //          progress.messageOnProgressBar("");
    565 //          }
    566 
    567 //      }
    568 
    569 //      }
     551        else if(type == BUILD) {
     552        // download the building directory (if gsdl server is remote)
     553        if (Gatherer.isGsdlRemote) {
     554            if (progress!=null) {
     555            progress.messageOnProgressBar("Downloading index data from server");
     556            }
     557
     558            Utility.delete(Gatherer.c_man.getCollectionBuild()); // remove current build dir
     559            GathererApplet.download_url_zip(col_name,"building");
     560            Utility.unzip(col_name);
     561
     562            if (progress!=null) {
     563            progress.messageOnProgressBar("");
     564            }
     565        }
     566        }
    570567    }
    571568
Note: See TracChangeset for help on using the changeset viewer.