log.info("Compiling " + sources.size() +
" joo source file"
+ (sources.size() == 1 ? "" : "s")
+ " to " + outputDirectory);
Jooc jooc = new Jooc(config, new AbstractCompileLog() {
@Override
protected void doLogError(String msg) {
log.error(msg);
}
@Override
public void warning(String msg) {
log.warn(msg);
}
});
return jooc.run().getResultCode();
}