Ignore:
Timestamp:
2005-10-31T12:19:10+13:00 (19 years ago)
Author:
chi
Message:

The latest development when Chi leave on 31/10/2005.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ant-install-branch/gsdl3/src/java/org/greenstone/admin/gui/ThreadControl.java

    r9972 r10793  
    4545
    4646import org.greenstone.admin.GAI;
     47import org.greenstone.admin.GAIManager;
    4748import org.greenstone.admin.gui.LogPane;
    4849import org.greenstone.core.ParsingProgress;
     
    5152
    5253
     54
    5355public class ThreadControl
    5456    extends Thread {
    5557   
    56     //boolean ant_success = false;
     58    private GAIManager gai_man;
    5759
    5860    public ThreadControl(){
     
    159161   
    160162    public void run() {
    161         try { 
     163        try {
    162164        executeAntTarget(this.command_string);
    163165        } catch(Exception e) {
     
    210212        try {
    211213        executeAntTarget(this.command_string);
    212         // ant_success;
    213214        } catch(Exception e) {
    214215        System.out.println(e.getMessage());
     
    248249    }
    249250    }
     251
     252    public class installGS3
     253    implements Runnable {
     254    private String command_string = null;
     255
     256    /* Install GSDL3 through ant program*/
     257    public installGS3(String command_string) {
     258        this.command_string = command_string;
     259    }
     260    public void run() {
     261        try {
     262     
     263        executeAntTarget(this.command_string);
     264        // ant_success;
     265        } catch(Exception e) {
     266        System.out.println(e.getMessage());
     267        }
     268    }
     269    }
     270
    250271   
    251272    public void destroy(){
Note: See TracChangeset for help on using the changeset viewer.