refactor MakeBuildResult (Task #117)


Added by Ruben Willems about 5 years ago. Updated about 5 years ago.


Status:New Start date:05/12/2012
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:- Spent time: -
Target version:1.9

Description

stringutil contains this,
powershell task also

check if they are the same or not

also the second argument is a string,
make that an enum


History

Updated by Ruben Willems about 5 years ago

StringUtil.MakeBuildResult(message, string.Empty);
should be replaced by
StringUtil.MakeBuildResult(message, "Error");

better is to make this an enum
Normal
Warning
Error

so we can improve this later on to
TaskTimeOut
SourceControlTimeOut
...

with a 'type' or 'kind' attribute of the message element in the build log

Also available in: Atom PDF