Skip to content
Snippets Groups Projects
Commit 2eb97dcb authored by Tobias Hunger's avatar Tobias Hunger Committed by con
Browse files

Small improvements to the abld parser

 * Should work better with errors that can happen during deployment
(cherry picked from commit 3d2e5667)
parent 5a574afb
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,8 @@ void AbldParser::stdOutput(const QString &line)
TASK_CATEGORY_BUILDSYSTEM));
return;
}
if (lne.startsWith(QLatin1String("FATAL ERROR:"))) {
if (lne.startsWith(QLatin1String("FATAL ERROR:")) ||
lne.startsWith(QLatin1String("Error :"))) {
emit addTask(Task(Task::Error,
lne /* description */,
QString() /* filename */,
......@@ -91,6 +92,14 @@ void AbldParser::stdOutput(const QString &line)
return;
}
if (lne.startsWith(QLatin1String("SIS creation failed!"))) {
m_waitingForStdOutContinuation = false;
emit addTask(Task(Task::Error,
line, QString(), -1,
TASK_CATEGORY_BUILDSYSTEM));
return;
}
if (lne.isEmpty()) {
m_waitingForStdOutContinuation = false;
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment