Package org.xmlvm.proc

Examples of org.xmlvm.proc.CompilationBundle


    ClassFile classFile= new ClassFile(file);

    ClassInputProcess inputProcess= new ClassInputProcess(arguments, classFile);
    DEXmlvmOutputProcess outputProcess= new DEXmlvmOutputProcess(arguments, enableRedList, false);
    outputProcess.addPreprocess(inputProcess);
    CompilationBundle bundle= new CompilationBundle();
    inputProcess.processPhase1(bundle);
    outputProcess.processPhase1(bundle);

    if (bundle.getResources().size() != 1)
    {
      return null;
    }
    XmlvmResource resource= bundle.getResources().iterator().next();
    cache.put(file.getAbsolutePath(), resource);
    return resource;
  }
View Full Code Here


  }

  private static String transformFile(String filename, UniversalFile universalFile, boolean write)
  {
    OutputFile classFile= new OutputFile(universalFile);
    CompilationBundle resources= new CompilationBundle();
    OutputFile outputFile= deXmlvmOutputProcess.generateDEXmlvmFile(classFile, resources);
    Collection<XmlvmResource> resources2= resources.getResources();
    boolean writing= write;
    if (writing)
      outputFile.write();

    String fileName= "";
View Full Code Here

TOP

Related Classes of org.xmlvm.proc.CompilationBundle

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.