The macro is used to validate a blank value. If the value is valid, the build continues. If the value is not valid, a build failure is generated. The failure message identifies the value that caused the failure.

Attributes

The following table describes the macro specific attributes for the macro:

Macro Specific Attributes
Attribute Description Required
name Name of the value to validate. Yes
project Name of the currently executing project. The default value for this attribute is ${ant.project.name} because that property is built-in when using the standard tooling. No
value Value to validate. Yes

Notes

Examples