Parameters
Attribute | Description | Required |
---|---|---|
ProjectName | Name of project to be built | Yes |
FailOnError | Whether or not builds should fail if the project contains any errors | No, default is false |
ShowErrors | The problem level to count and treat as a build error | No, default is true |
SeverityLevel | Whether to overwrite if the file already exists. | No, default is ERROR. May be ERROR, WARNING, or INFORMATION. |
CountValidationErrors | Whether or not to count Validation problems as project Errors | No, default is true |
PropertyCountName | Property to receive the project error count | No, default is ProjectErrorCount |
PropertyMessagesName | Property to receive the project error messages | No, default is ProjectErrorMessages |
Examples
<projectGetErrorsĀ ProjectName="myProject" SeverityLevel="WARNING" PropertyCountName="myProjectErrorCount PropertyMessagesName="myProjectErrorMessages" /> <echo message="projectGetErrors: projectName=${projectName} project Error+Warning Count=${myProjectErrorCount} project Error+Warning Messages=${myProjectErrorMessages}" />