Package com.google.code.vimsztool.util

Examples of com.google.code.vimsztool.util.SystemJob


      String cmdShell = params.get(SzjdeConstants.PARAM_RUN_IN_SHELL);
      String bufname = params.get(SzjdeConstants.PARAM_BUF_NAME);
      String workDir = params.get(SzjdeConstants.PARAM_WORK_DIR);
      String origCmdLine = params.get("origCmdLine");
      String uuid=UUID.randomUUID().toString();
      SystemJob job = new SystemJob(cmd,vimServerName,cmdShell,uuid,bufname,workDir,origCmdLine);
      job.start();
      return "";
    } else {
      String jobId = params.get(SzjdeConstants.PARAM_JOB_ID);
      SystemJob job = SystemJob.getJob(jobId);
      String result = job.fetchResult();
      return result;
    }
  }
View Full Code Here


    cmd.append(className);
    String uuid=UUID.randomUUID().toString();
    String vimServerName = params.get(SzjdeConstants.PARAM_VIM_SERVER);
    String bufname = params.get(SzjdeConstants.PARAM_BUF_NAME);
    String origCmdLine = "Run " + className;
    SystemJob job = new SystemJob(cmd.toString(),
        vimServerName,"false",uuid,bufname,cc.getProjectRoot(),origCmdLine);
    job.start();
    return "";
   
  }
View Full Code Here

TOP

Related Classes of com.google.code.vimsztool.util.SystemJob

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.