Changeset 18243

Show
Ignore:
Timestamp:
17.12.2008 18:51:47 (10 years ago)
Author:
cc108
Message:

add new set command method

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/src/java/org/greenstone/admin/gui/SVNDownloadThread.java

    r18139 r18243  
    3030import javax.xml.transform.stream.StreamResult; 
    3131 
    32 //import org.apache.tools.ant.Project; 
    33 //import org.apache.tools.ant.ProjectHelper; 
    3432import org.greenstone.gsdl3.util.GSPath; 
    3533import org.greenstone.gsdl3.util.GlobalProperties; 
     
    7068        WorkingCopy wc = new WorkingCopy(); 
    7169        wc.Download(_messageTextArea, _URL,_destination, _extensionName); 
     70    if(wc.getStatus()){ 
     71        _mat.setCommandStatus("download"); 
     72    } 
    7273    }catch(Exception ex){ 
    7374        ex.printStackTrace(); 
     75        return; 
    7476    } 
    7577    }