use of com.intellij.problems.WolfTheProblemSolver in project intellij-community by JetBrains.
the class AntBuildMessageView method outputException.
public void outputException(String exception) {
updateErrorAndWarningCounters(PRIORITY_ERR);
AntMessage message = createErrorMessage(PRIORITY_ERR, exception);
addCommand(new AddExceptionCommand(message));
WolfTheProblemSolver wolf = WolfTheProblemSolver.getInstance(myProject);
wolf.queue(message.getFile());
}
use of com.intellij.problems.WolfTheProblemSolver in project intellij-community by JetBrains.
the class AntBuildMessageView method outputJavacMessage.
public void outputJavacMessage(MessageType type, String[] text, VirtualFile file, String url, int line, int column) {
int priority = type == MessageType.ERROR ? PRIORITY_ERR : PRIORITY_VERBOSE;
updateErrorAndWarningCounters(priority);
final AntMessage message = new AntMessage(type, priority, text, file, line, column);
addCommand(new AddJavacMessageCommand(message, url));
if (type == MessageType.ERROR) {
WolfTheProblemSolver wolf = WolfTheProblemSolver.getInstance(myProject);
wolf.queue(file);
}
}
Aggregations