Parameters
Attribute | Description | Required |
---|---|---|
BuildType | Type of build | No, default is Incremental. May be Incremental or Full. |
FailOnError | Whether or not builds should fail on error | No, default is true |
DebugCompilation | Whether or not compilations should be debugged | No, default is true |
ShowErrors | Whether or not to show the project errors in the ant build log | No, default is true |
SeverityLevel | The problem level to count and treat as a build error | 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 WorkspaceErrorCount |
PropertyMessagesName | Property to receive the project error messages | No, default is WorkspaceErrorMessages |
Examples
<workspaceBuild />
<workspaceBuild failonerror="true" DebugCompilation="false" BuildType="full"/> <echo message="projectBuild: projectName=${projectName} workspace Error Count=${WorkspaceErrorCount} workspace Error Messages=${WorkspaceErrorMessages}" />