projectGetErrors

This task gets the errors for the specified project. It is a subset of the projectBuild task (it does not do a build, it just gets project errors regardless of how they were created)

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

 

Parent topic

Working with Ant

 

Related tasks

captureBuildMessages
compileWorkspace
getJavacErrorCount
getProjectData
projectBuild
projectImport
projectSetBuild
projectSetImport
setDebugInfo
workspaceBuild
workspaceGetErrors
workspacePreferenceFile
workspacePreferenceGet
workspacePreferenceSet