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
<getJavacErrorCount
ProjectName="MyProject"
PropertyName="MyJavacErrorCount" />
<echo message="MyJavacErrorCount=${MyJavacErrorCount}" />