even more compiler logging

This commit is contained in:
Eugene Zhuravlev
2011-02-14 17:59:46 +01:00
parent 4b0502ec88
commit 366a97ca98
2 changed files with 16 additions and 3 deletions
@@ -67,7 +67,13 @@ public class JavacRunner {
System.arraycopy(args, 2, newArgs, 0, newArgs.length);
}
expandClasspath(newArgs);
mainMethod.invoke(null, new Object[] {newArgs});
try {
mainMethod.invoke(null, new Object[] {newArgs});
}
catch (Throwable e) {
System.err.print(e.getMessage());
e.printStackTrace(System.err);
}
}
private static void addFilesToCompile(Vector arguments, String path) throws IOException {