IDE.debugVerbose(console, DebuggerEngine.class, "Compile: "+Utils.toString(args));
Process p = Runtime.getRuntime().exec(args);
setProcess(p);
new StreamWatcher(p.getErrorStream(), "Compiler[error]", delegate).start();
new StreamWatcher(p.getInputStream(), "Compiler[stdout]", delegate).start();
result = p.waitFor();
} else if(compiler.equalsIgnoreCase(AWPrefs.COMPILER_JIKES)) {
String jikesPath = XJUtils.concatPath(AWPrefs.getJikesPath(), "jikes");
String[] args = new String[5+files.length];
args[0] = jikesPath;
args[1] = "-classpath";
args[2] = classPath;
args[3] = "-d";
args[4] = Utils.quotePath(outputFileDir);
System.arraycopy(files, 0, args, 5, files.length);
IDE.debugVerbose(console, DebuggerEngine.class, "Compile: "+Utils.toString(args));
Process p = Runtime.getRuntime().exec(args);
setProcess(p);
new StreamWatcher(p.getErrorStream(), "Compiler[error]", delegate).start();
new StreamWatcher(p.getInputStream(), "Compiler[stdout]", delegate).start();
result = p.waitFor();
} else if(compiler.equalsIgnoreCase(AWPrefs.COMPILER_INTEGRATED)) {
String[] args = new String[2+files.length];
args[0] = "-d";
args[1] = outputFileDir;