mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fix for [Bug 172078] Check for error on makefile generation
This commit is contained in:
parent
84b0aa3224
commit
2fb5e7eb6e
1 changed files with 12 additions and 0 deletions
|
@ -1320,6 +1320,18 @@ public class CommonBuilder extends ACBuilder {
|
||||||
//TODO: messages.add(status);
|
//TODO: messages.add(status);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else if (result.getCode() == IStatus.ERROR){
|
||||||
|
StringBuffer buf = new StringBuffer();
|
||||||
|
buf.append("Buildfile generation error occured..").append(NEWLINE);
|
||||||
|
String message = result.getMessage();
|
||||||
|
if(message != null || message.length() != 0){
|
||||||
|
buf.append(message).append(NEWLINE);
|
||||||
|
}
|
||||||
|
|
||||||
|
buf.append("Build stopped..").append(NEWLINE);
|
||||||
|
message = buf.toString();
|
||||||
|
buildStatus.getConsoleMessagesList().add(message);
|
||||||
|
buildStatus.cancelBuild();
|
||||||
}
|
}
|
||||||
|
|
||||||
checkCancel(monitor);
|
checkCancel(monitor);
|
||||||
|
|
Loading…
Add table
Reference in a new issue