Package com.google.code.vimsztool.compiler

Examples of com.google.code.vimsztool.compiler.CompilerContextManager


public class SzjdeProjectClean extends SzjdeCommand {

  public String execute() {
    String classPathXml = params.get(SzjdeConstants.PARAM_CLASSPATHXML);
    CompilerContextManager ccm = CompilerContextManager.getInstnace();
    ccm.reloadCompilerContext(classPathXml);
    return "";
  }
View Full Code Here


    String debugCmdArgs = params.get("debugCmdArgs");
   
    String serverName = params.get("serverName");
    debugger.setVimServerName(serverName);
   
    CompilerContextManager ccm = CompilerContextManager.getInstnace();
    CompilerContext ctx = ccm.getCompilerContext(classPathXml);
    debugger.setCompilerContext(ctx);
   
    if (debugCmdArgs == null || debugCmdArgs.trim().equals("")) {
      return "";
    }
View Full Code Here

  public CompilerContext getCompilerContext() {
    return compilerContext;
  }
 
  private String getClassPath(String classPathXml) {
    CompilerContextManager ccm = CompilerContextManager.getInstnace();
    CompilerContext ctx = ccm.getCompilerContext(classPathXml);

    List<URL> urls = ctx.getClassPathUrls();
    StringBuilder sb = new StringBuilder();
    for (URL url : urls) {
      sb.append(url.getPath()).append(File.pathSeparator);
View Full Code Here

public class SzjdeProjectOpen extends SzjdeCommand {

  public String execute() {
    String classPathXml = params.get(SzjdeConstants.PARAM_CLASSPATHXML);
    CompilerContextManager ccm = CompilerContextManager.getInstnace();
    File file = new File(classPathXml);
   
    if (!file.exists()) return "";
   
    ccm.loadCompilerContext(classPathXml);
    return "";
  }
View Full Code Here

    }
  }
 
  @SuppressWarnings("rawtypes")
  public static Class getExistedClass(String classPathXml , String[] classNameList,String sourceFile) {
    CompilerContextManager ccm = CompilerContextManager.getInstnace();
    CompilerContext ctx = ccm.getCompilerContext(classPathXml);
    ReflectAbleClassLoader classLoader = ctx.getClassLoader();
    Class aClass = null;
   
    for (String className : classNameList) {
      if (className.equals("this") && sourceFile !=null ) {
View Full Code Here

TOP

Related Classes of com.google.code.vimsztool.compiler.CompilerContextManager

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.