import org.eclipse.jdt.internal.compiler.util.HashtableOfObject;
public class AjBuildManager {
+ static final boolean FAIL_IF_RUNTIME_NOT_FOUND = false;
private IProgressListener progressListener = null;
private int compiledCount;
String check = checkRtJar(buildConfig);
if (check != null) {
- IMessage message = new Message(check, Message.WARNING, null, null);
- // give delegate a chance to implement different message (abort)?
- handler.handleMessage(message);
+ if (FAIL_IF_RUNTIME_NOT_FOUND) {
+ MessageUtil.error(check);
+ return false;
+ } else {
+ MessageUtil.warn(check);
+ }
}
setupModel();