Port the compile output window away from HTML to QTextCharFormat

Is more then twice as fast
This commit is contained in:
dt
2010-06-08 15:04:42 +02:00
parent d807b14c85
commit 181cecbb32
14 changed files with 98 additions and 55 deletions

View File

@@ -82,8 +82,8 @@ void AbstractProcessStep::setOutputParser(ProjectExplorer::IOutputParser *parser
m_outputParserChain = parser; m_outputParserChain = parser;
if (m_outputParserChain) { if (m_outputParserChain) {
connect(parser, SIGNAL(addOutput(QString)), connect(parser, SIGNAL(addOutput(QString, QTextCharFormat)),
this, SLOT(outputAdded(QString))); this, SLOT(outputAdded(QString, QTextCharFormat)));
connect(parser, SIGNAL(addTask(ProjectExplorer::Task)), connect(parser, SIGNAL(addTask(ProjectExplorer::Task)),
this, SLOT(taskAdded(ProjectExplorer::Task))); this, SLOT(taskAdded(ProjectExplorer::Task)));
} }
@@ -199,22 +199,34 @@ void AbstractProcessStep::run(QFutureInterface<bool> &fi)
void AbstractProcessStep::processStarted() void AbstractProcessStep::processStarted()
{ {
emit addOutput(tr("<font color=\"#0000ff\">Starting: \"%1\" %2</font>\n").arg(m_command, Qt::escape(m_arguments.join(" ")))); QTextCharFormat textCharFormat;
textCharFormat.setForeground(Qt::blue);
emit addOutput(tr("Starting: \"%1\" %2\n").arg(m_command, m_arguments.join(" ")), textCharFormat);
} }
void AbstractProcessStep::processFinished(int exitCode, QProcess::ExitStatus status) void AbstractProcessStep::processFinished(int exitCode, QProcess::ExitStatus status)
{ {
if (status == QProcess::NormalExit && exitCode == 0) QTextCharFormat textCharFormat;
emit addOutput(tr("<font color=\"#0000ff\">The process \"%1\" exited normally.</font>").arg(m_command)); if (status == QProcess::NormalExit && exitCode == 0) {
else if (status == QProcess::NormalExit) textCharFormat.setForeground(Qt::blue);
emit addOutput(tr("<font color=\"#ff0000\"><b>The process \"%1\" exited with code %2.</b></font>").arg(m_command, m_process->exitCode())); emit addOutput(tr("The process \"%1\" exited normally.").arg(m_command), textCharFormat);
else } else if (status == QProcess::NormalExit) {
emit addOutput(tr("<font color=\"#ff0000\"><b>The process \"%1\" crashed.</b></font>").arg(m_command)); textCharFormat.setForeground(Qt::red);
textCharFormat.setFontWeight(QFont::Bold);
emit addOutput(tr("The process \"%1\" exited with code %2.").arg(m_command, m_process->exitCode()), textCharFormat);
} else {
textCharFormat.setForeground(Qt::red);
textCharFormat.setFontWeight(QFont::Bold);
emit addOutput(tr("The process \"%1\" crashed.").arg(m_command), textCharFormat);
}
} }
void AbstractProcessStep::processStartupFailed() void AbstractProcessStep::processStartupFailed()
{ {
emit addOutput(tr("<font color=\"#ff0000\"><b>Could not start process \"%1\"</b></font>").arg(m_command)); QTextCharFormat textCharFormat;
textCharFormat.setForeground(Qt::red);
textCharFormat.setFontWeight(QFont::Bold);
emit addOutput(tr("Could not start process \"%1\"").arg(m_command), textCharFormat);
} }
bool AbstractProcessStep::processSucceeded(int exitCode, QProcess::ExitStatus status) bool AbstractProcessStep::processSucceeded(int exitCode, QProcess::ExitStatus status)
@@ -235,7 +247,8 @@ void AbstractProcessStep::stdOutput(const QString &line)
{ {
if (m_outputParserChain) if (m_outputParserChain)
m_outputParserChain->stdOutput(line); m_outputParserChain->stdOutput(line);
emit addOutput(Qt::escape(line)); QTextCharFormat textCharFormat;
emit addOutput(Qt::escape(line), textCharFormat);
} }
void AbstractProcessStep::processReadyReadStdError() void AbstractProcessStep::processReadyReadStdError()
@@ -251,7 +264,9 @@ void AbstractProcessStep::stdError(const QString &line)
{ {
if (m_outputParserChain) if (m_outputParserChain)
m_outputParserChain->stdError(line); m_outputParserChain->stdError(line);
emit addOutput(QLatin1String("<font color=\"#ff0000\">") + Qt::escape(line) + QLatin1String("</font>")); QTextCharFormat textCharFormat;
textCharFormat.setForeground(Qt::red);
emit addOutput(line, textCharFormat);
} }
void AbstractProcessStep::checkForCancel() void AbstractProcessStep::checkForCancel()
@@ -312,9 +327,9 @@ void AbstractProcessStep::taskAdded(const ProjectExplorer::Task &task)
emit addTask(editable); emit addTask(editable);
} }
void AbstractProcessStep::outputAdded(const QString &string) void AbstractProcessStep::outputAdded(const QString &string, const QTextCharFormat &textCharFormat)
{ {
emit addOutput(string); emit addOutput(string, textCharFormat);
} }
void AbstractProcessStep::slotProcessFinished(int, QProcess::ExitStatus) void AbstractProcessStep::slotProcessFinished(int, QProcess::ExitStatus)

View File

@@ -147,8 +147,8 @@ private slots:
void checkForCancel(); void checkForCancel();
void taskAdded(const ProjectExplorer::Task &task); void taskAdded(const ProjectExplorer::Task &task);
void outputAdded(const QString &string);
void outputAdded(const QString &string, const QTextCharFormat &format);
private: private:
QTimer *m_timer; QTimer *m_timer;
QFutureInterface<bool> *m_futureInterface; QFutureInterface<bool> *m_futureInterface;

View File

@@ -180,7 +180,9 @@ void BuildManager::finish()
void BuildManager::emitCancelMessage() void BuildManager::emitCancelMessage()
{ {
emit addToOutputWindow(tr("<font color=\"#ff0000\">Canceled build.</font>")); QTextCharFormat textCharFormat;
textCharFormat.setForeground(Qt::red);
emit addToOutputWindow(tr("Canceled build."), textCharFormat);
} }
void BuildManager::clearBuildQueue() void BuildManager::clearBuildQueue()
@@ -282,9 +284,9 @@ void BuildManager::addToTaskWindow(const ProjectExplorer::Task &task)
m_taskWindow->addTask(task); m_taskWindow->addTask(task);
} }
void BuildManager::addToOutputWindow(const QString &string) void BuildManager::addToOutputWindow(const QString &string, const QTextCharFormat &format)
{ {
m_outputWindow->appendText(string); m_outputWindow->appendText(string, format);
} }
void BuildManager::nextBuildQueue() void BuildManager::nextBuildQueue()
@@ -294,8 +296,8 @@ void BuildManager::nextBuildQueue()
disconnect(m_currentBuildStep, SIGNAL(addTask(ProjectExplorer::Task)), disconnect(m_currentBuildStep, SIGNAL(addTask(ProjectExplorer::Task)),
this, SLOT(addToTaskWindow(ProjectExplorer::Task))); this, SLOT(addToTaskWindow(ProjectExplorer::Task)));
disconnect(m_currentBuildStep, SIGNAL(addOutput(QString)), disconnect(m_currentBuildStep, SIGNAL(addOutput(QString, QTextCharFormat)),
this, SLOT(addToOutputWindow(QString))); this, SLOT(addToOutputWindow(QString, QTextCharFormat)));
++m_progress; ++m_progress;
m_progressFutureInterface->setProgressValueAndText(m_progress*100, msgProgress(m_progress, m_maxProgress)); m_progressFutureInterface->setProgressValueAndText(m_progress*100, msgProgress(m_progress, m_maxProgress));
@@ -306,8 +308,10 @@ void BuildManager::nextBuildQueue()
// Build Failure // Build Failure
const QString projectName = m_currentBuildStep->buildConfiguration()->target()->project()->displayName(); const QString projectName = m_currentBuildStep->buildConfiguration()->target()->project()->displayName();
const QString targetName = m_currentBuildStep->buildConfiguration()->target()->displayName(); const QString targetName = m_currentBuildStep->buildConfiguration()->target()->displayName();
addToOutputWindow(tr("<font color=\"#ff0000\">Error while building project %1 (target: %2)</font>").arg(projectName, targetName)); QTextCharFormat textCharFormat;
addToOutputWindow(tr("<font color=\"#ff0000\">When executing build step '%1'</font>").arg(m_currentBuildStep->displayName())); textCharFormat.setForeground(Qt::red);
addToOutputWindow(tr("Error while building project %1 (target: %2)").arg(projectName, targetName), textCharFormat);
addToOutputWindow(tr("When executing build step '%1'").arg(m_currentBuildStep->displayName()), textCharFormat);
// NBS TODO fix in qtconcurrent // NBS TODO fix in qtconcurrent
m_progressFutureInterface->setProgressValueAndText(m_progress*100, tr("Error while building project %1 (target: %2)").arg(projectName, targetName)); m_progressFutureInterface->setProgressValueAndText(m_progress*100, tr("Error while building project %1 (target: %2)").arg(projectName, targetName));
} }
@@ -337,8 +341,10 @@ void BuildManager::nextStep()
if (m_currentBuildStep->buildConfiguration()->target()->project() != m_previousBuildStepProject) { if (m_currentBuildStep->buildConfiguration()->target()->project() != m_previousBuildStepProject) {
const QString projectName = m_currentBuildStep->buildConfiguration()->target()->project()->displayName(); const QString projectName = m_currentBuildStep->buildConfiguration()->target()->project()->displayName();
addToOutputWindow(tr("<b>Running build steps for project %2...</b>") QTextCharFormat textCharFormat;
.arg(projectName)); textCharFormat.setFontWeight(QFont::Bold);
addToOutputWindow(tr("Running build steps for project %2...")
.arg(projectName), textCharFormat);
m_previousBuildStepProject = m_currentBuildStep->buildConfiguration()->target()->project(); m_previousBuildStepProject = m_currentBuildStep->buildConfiguration()->target()->project();
} }
m_watcher.setFuture(QtConcurrent::run(&BuildStep::run, m_currentBuildStep)); m_watcher.setFuture(QtConcurrent::run(&BuildStep::run, m_currentBuildStep));
@@ -363,8 +369,8 @@ bool BuildManager::buildQueueAppend(QList<BuildStep *> steps)
BuildStep *bs = steps.at(i); BuildStep *bs = steps.at(i);
connect(bs, SIGNAL(addTask(ProjectExplorer::Task)), connect(bs, SIGNAL(addTask(ProjectExplorer::Task)),
this, SLOT(addToTaskWindow(ProjectExplorer::Task))); this, SLOT(addToTaskWindow(ProjectExplorer::Task)));
connect(bs, SIGNAL(addOutput(QString)), connect(bs, SIGNAL(addOutput(QString, QTextCharFormat)),
this, SLOT(addToOutputWindow(QString))); this, SLOT(addToOutputWindow(QString, QTextCharFormat)));
init = bs->init(); init = bs->init();
if (!init) if (!init)
break; break;
@@ -376,16 +382,18 @@ bool BuildManager::buildQueueAppend(QList<BuildStep *> steps)
// print something for the user // print something for the user
const QString projectName = bs->buildConfiguration()->target()->project()->displayName(); const QString projectName = bs->buildConfiguration()->target()->project()->displayName();
const QString targetName = bs->buildConfiguration()->target()->displayName(); const QString targetName = bs->buildConfiguration()->target()->displayName();
addToOutputWindow(tr("<font color=\"#ff0000\">Error while building project %1 (target: %2)</font>").arg(projectName, targetName)); QTextCharFormat textCharFormat;
addToOutputWindow(tr("<font color=\"#ff0000\">When executing build step '%1'</font>").arg(bs->displayName())); textCharFormat.setForeground(Qt::red);
addToOutputWindow(tr("Error while building project %1 (target: %2)").arg(projectName, targetName), textCharFormat);
addToOutputWindow(tr("When executing build step '%1'").arg(bs->displayName()), textCharFormat);
// disconnect the buildsteps again // disconnect the buildsteps again
for (int j = 0; j <= i; ++j) { for (int j = 0; j <= i; ++j) {
BuildStep *bs = steps.at(j); BuildStep *bs = steps.at(j);
disconnect(bs, SIGNAL(addTask(ProjectExplorer::Task)), disconnect(bs, SIGNAL(addTask(ProjectExplorer::Task)),
this, SLOT(addToTaskWindow(ProjectExplorer::Task))); this, SLOT(addToTaskWindow(ProjectExplorer::Task)));
disconnect(bs, SIGNAL(addOutput(QString)), disconnect(bs, SIGNAL(addOutput(QString, QTextCharFormat)),
this, SLOT(addToOutputWindow(QString))); this, SLOT(addToOutputWindow(QString, QTextCharFormat)));
} }
return false; return false;
} }

View File

@@ -95,7 +95,7 @@ signals:
private slots: private slots:
void addToTaskWindow(const ProjectExplorer::Task &task); void addToTaskWindow(const ProjectExplorer::Task &task);
void addToOutputWindow(const QString &string); void addToOutputWindow(const QString &string, const QTextCharFormat &textCharFormat);
void nextBuildQueue(); void nextBuildQueue();
void progressChanged(); void progressChanged();

View File

@@ -105,8 +105,8 @@ signals:
void addTask(const ProjectExplorer::Task &task); void addTask(const ProjectExplorer::Task &task);
// The string is added to the generated output, usually in the output // The string is added to the generated output, usually in the output
// window. // window.
// It should be in html format, that is properly escaped // It should be in plain text, with the format in the parameter
void addOutput(const QString &string); void addOutput(const QString &string, const QTextCharFormat &textCharFormat);
private: private:
BuildConfiguration *m_buildConfiguration; BuildConfiguration *m_buildConfiguration;

View File

@@ -52,6 +52,8 @@ CompileOutputWindow::CompileOutputWindow(BuildManager * /*bm*/)
Aggregation::Aggregate *agg = new Aggregation::Aggregate; Aggregation::Aggregate *agg = new Aggregation::Aggregate;
agg->add(m_textEdit); agg->add(m_textEdit);
agg->add(new Find::BaseTextFind(m_textEdit)); agg->add(new Find::BaseTextFind(m_textEdit));
qRegisterMetaType<QTextCharFormat>("QTextCharFormat");
} }
bool CompileOutputWindow::hasFocus() bool CompileOutputWindow::hasFocus()
@@ -74,9 +76,16 @@ QWidget *CompileOutputWindow::outputWidget(QWidget *)
return m_textEdit; return m_textEdit;
} }
void CompileOutputWindow::appendText(const QString &text) void CompileOutputWindow::appendText(const QString &text, const QTextCharFormat &textCharFormat)
{ {
m_textEdit->appendHtml(text); QString textWithNewline = text;
if (!textWithNewline.endsWith("\n"))
textWithNewline.append("\n");
QTextCursor cursor = QTextCursor(m_textEdit->document());
cursor.movePosition(QTextCursor::End);
cursor.beginEditBlock();
cursor.insertText(textWithNewline, textCharFormat);
cursor.endEditBlock();
} }
void CompileOutputWindow::clearContents() void CompileOutputWindow::clearContents()

View File

@@ -31,6 +31,8 @@
#define COMPILEOUTPUTWINDOW_H #define COMPILEOUTPUTWINDOW_H
#include <coreplugin/ioutputpane.h> #include <coreplugin/ioutputpane.h>
#include <QtGui/QColor>
#include <QtGui/QTextCharFormat>
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
class QPlainTextEdit; class QPlainTextEdit;
@@ -54,7 +56,7 @@ public:
int priorityInStatusBar() const; int priorityInStatusBar() const;
void clearContents(); void clearContents();
void visibilityChanged(bool visible); void visibilityChanged(bool visible);
void appendText(const QString &text); void appendText(const QString &text, const QTextCharFormat &textCharFormat);
bool canFocus(); bool canFocus();
bool hasFocus(); bool hasFocus();
void setFocus(); void setFocus();

View File

@@ -50,8 +50,8 @@ void IOutputParser::appendOutputParser(IOutputParser *parser)
} }
m_parser = parser; m_parser = parser;
connect(parser, SIGNAL(addOutput(QString)), connect(parser, SIGNAL(addOutput(QString, QTextCharFormat)),
this, SLOT(outputAdded(QString)), Qt::DirectConnection); this, SLOT(outputAdded(QString, QTextCharFormat)), Qt::DirectConnection);
connect(parser, SIGNAL(addTask(ProjectExplorer::Task)), connect(parser, SIGNAL(addTask(ProjectExplorer::Task)),
this, SLOT(taskAdded(ProjectExplorer::Task)), Qt::DirectConnection); this, SLOT(taskAdded(ProjectExplorer::Task)), Qt::DirectConnection);
} }
@@ -59,8 +59,8 @@ void IOutputParser::appendOutputParser(IOutputParser *parser)
IOutputParser *IOutputParser::takeOutputParserChain() IOutputParser *IOutputParser::takeOutputParserChain()
{ {
IOutputParser *parser = m_parser; IOutputParser *parser = m_parser;
disconnect(parser, SIGNAL(addOutput(QString)), disconnect(parser, SIGNAL(addOutput(QString, QTextCharFormat)),
this, SLOT(outputAdded(QString))); this, SLOT(outputAdded(QString, QTextCharFormat)));
disconnect(parser, SIGNAL(addTask(ProjectExplorer::Task)), disconnect(parser, SIGNAL(addTask(ProjectExplorer::Task)),
this, SLOT(taskAdded(ProjectExplorer::Task))); this, SLOT(taskAdded(ProjectExplorer::Task)));
m_parser = 0; m_parser = 0;
@@ -84,9 +84,9 @@ void IOutputParser::stdError(const QString &line)
m_parser->stdError(line); m_parser->stdError(line);
} }
void IOutputParser::outputAdded(const QString &string) void IOutputParser::outputAdded(const QString &string, const QTextCharFormat &textCharFormat)
{ {
emit addOutput(string); emit addOutput(string, textCharFormat);
} }
void IOutputParser::taskAdded(const ProjectExplorer::Task &task) void IOutputParser::taskAdded(const ProjectExplorer::Task &task)

View File

@@ -67,14 +67,14 @@ signals:
/// added to the output. /// added to the output.
/// Note: This is additional information. There is no need to add each /// Note: This is additional information. There is no need to add each
/// line! /// line!
void addOutput(const QString &string); void addOutput(const QString &string, const QTextCharFormat &format);
/// Should be emitted for each task seen in the output. /// Should be emitted for each task seen in the output.
void addTask(const ProjectExplorer::Task &task); void addTask(const ProjectExplorer::Task &task);
public slots: public slots:
/// Subparsers have their addOutput signal connected to this slot. /// Subparsers have their addOutput signal connected to this slot.
/// This method can be overwritten to change the string. /// This method can be overwritten to change the string.
virtual void outputAdded(const QString &string); virtual void outputAdded(const QString &string, const QTextCharFormat &color);
/// Subparsers have their addTask signal connected to this slot. /// Subparsers have their addTask signal connected to this slot.
/// This method can be overwritten to change the task. /// This method can be overwritten to change the task.
virtual void taskAdded(const ProjectExplorer::Task &task); virtual void taskAdded(const ProjectExplorer::Task &task);

View File

@@ -104,7 +104,8 @@ void OutputParserTester::testOutputMangling(const QString &input,
{ {
reset(); reset();
childParser()->outputAdded(input); QTextCharFormat textCharFormat;
childParser()->outputAdded(input, textCharFormat);
QCOMPARE(m_receivedOutput, output); QCOMPARE(m_receivedOutput, output);
QVERIFY(m_receivedStdErrChildLine.isNull()); QVERIFY(m_receivedStdErrChildLine.isNull());
@@ -139,7 +140,7 @@ void OutputParserTester::appendOutputParser(IOutputParser *parser)
parser->appendOutputParser(this); parser->appendOutputParser(this);
} }
void OutputParserTester::outputAdded(const QString &line) void OutputParserTester::outputAdded(const QString &line, const QTextCharFormat &textCharFormat)
{ {
if (!m_receivedOutput.isEmpty()) if (!m_receivedOutput.isEmpty())
m_receivedOutput.append(QChar('\n')); m_receivedOutput.append(QChar('\n'));

View File

@@ -71,7 +71,7 @@ public:
void appendOutputParser(IOutputParser *parser); void appendOutputParser(IOutputParser *parser);
private slots: private slots:
void outputAdded(const QString &line); void outputAdded(const QString &line, const QTextCharFormat &textCharFormat);
void taskAdded(const ProjectExplorer::Task &task); void taskAdded(const ProjectExplorer::Task &task);
private: private:

View File

@@ -135,8 +135,9 @@ bool MakeStep::init()
// Try to detect command in environment // Try to detect command in environment
const QString tmp = environment.searchInPath(makeCmd); const QString tmp = environment.searchInPath(makeCmd);
if (tmp.isEmpty()) { if (tmp.isEmpty()) {
emit addOutput(tr("<font color=\"#ff0000\">Could not find make command: %1 "\ QTextCharFormat textCharFormat;
"in the build environment</font>").arg(makeCmd)); textCharFormat.setForeground(Qt::red);
emit addOutput(tr("Could not find make command: %1 in the build environment").arg(makeCmd), textCharFormat);
return false; return false;
} }
makeCmd = tmp; makeCmd = tmp;

View File

@@ -198,13 +198,17 @@ void QMakeStep::run(QFutureInterface<bool> &fi)
canContinue = false; canContinue = false;
} }
if (!canContinue) { if (!canContinue) {
emit addOutput(tr("<font color=\"#0000ff\">Configuration is faulty, please check the Build Issues view for details.</font>")); QTextCharFormat textCharFormat;
textCharFormat.setForeground(Qt::blue);
emit addOutput(tr("Configuration is faulty, please check the Build Issues view for details."), textCharFormat);
fi.reportResult(false); fi.reportResult(false);
return; return;
} }
if (!m_needToRunQMake) { if (!m_needToRunQMake) {
emit addOutput(tr("<font color=\"#0000ff\">Configuration unchanged, skipping qmake step.</font>")); QTextCharFormat textCharFormat;
textCharFormat.setForeground(Qt::blue);
emit addOutput(tr("Configuration unchanged, skipping qmake step."), textCharFormat);
fi.reportResult(true); fi.reportResult(true);
return; return;
} }

View File

@@ -114,7 +114,8 @@ bool MaemoPackageCreationStep::createPackage()
if (!packagingNeeded()) if (!packagingNeeded())
return true; return true;
emit addOutput(tr("Creating package file ...")); QTextCharFormat textCharFormat;
emit addOutput(tr("Creating package file ..."), textCharFormat);
QFile configFile(targetRoot() % QLatin1String("/config.sh")); QFile configFile(targetRoot() % QLatin1String("/config.sh"));
if (!configFile.open(QIODevice::ReadOnly)) { if (!configFile.open(QIODevice::ReadOnly)) {
raiseError(tr("Cannot open MADDE config file '%1'.") raiseError(tr("Cannot open MADDE config file '%1'.")
@@ -213,14 +214,15 @@ bool MaemoPackageCreationStep::createPackage()
return false; return false;
} }
emit addOutput(tr("Package created.")); emit addOutput(tr("Package created."), textCharFormat);
m_packageContents->setUnModified(); m_packageContents->setUnModified();
return true; return true;
} }
bool MaemoPackageCreationStep::runCommand(QProcess &proc, const QString &command) bool MaemoPackageCreationStep::runCommand(QProcess &proc, const QString &command)
{ {
emit addOutput(tr("Package Creation: Running command '%1'.").arg(command)); QTextCharFormat textCharFormat;
emit addOutput(tr("Package Creation: Running command '%1'.").arg(command), textCharFormat);
QString perl; QString perl;
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
perl = maddeRoot() + QLatin1String("/bin/perl.exe "); perl = maddeRoot() + QLatin1String("/bin/perl.exe ");
@@ -323,7 +325,8 @@ QString MaemoPackageCreationStep::nativePath(const QFile &file) const
void MaemoPackageCreationStep::raiseError(const QString &shortMsg, void MaemoPackageCreationStep::raiseError(const QString &shortMsg,
const QString &detailedMsg) const QString &detailedMsg)
{ {
emit addOutput(detailedMsg.isNull() ? shortMsg : detailedMsg); QTextCharFormat textCharFormat;
emit addOutput(detailedMsg.isNull() ? shortMsg : detailedMsg, textCharFormat);
emit addTask(Task(Task::Error, shortMsg, QString(), -1, emit addTask(Task(Task::Error, shortMsg, QString(), -1,
TASK_CATEGORY_BUILDSYSTEM)); TASK_CATEGORY_BUILDSYSTEM));
} }