getJavacErrorCount
This task gets the error count for the last internal javac compilation of the specified project.
Parameters
Attribute Description Required ProjectName Name of project to be counted Yes PropertyName Property Name to receive current settings No, Default is JavacErrorCount Examples
- Display the error count for "myProject":
<getJavacErrorCount ProjectName="MyProject" PropertyName="MyJavacErrorCount" /> <echo message="MyJavacErrorCount=${MyJavacErrorCount}" />
Parent topic
Working with Ant
Related tasks
captureBuildMessages
compileWorkspace
getProjectData
projectBuild
projectGetErrors
projectImport
projectSetBuild
projectSetImport
setDebugInfo
workspaceBuild
workspaceGetErrors
workspacePreferenceFile
workspacePreferenceGet
workspacePreferenceSet