Orangevolt ANT Tasks » Tasks | ||
Example | Example |
call executes a target either once or multiple times depending on a condition.
The target dependencies will be executed too. In other words if a target depends on another, the other task will be executed too.
Name | Description | Required |
target | the name of the target to execute. | yes |
if | Executes the target task if a property named as the value exists. | yes (if no other condition was defined). |
unless | Executes the target task if no property named as the value exists. | yes (if no other condition was defined). |
while | Executes the target task again and again while a property named as the value exists. The loop will be aborted if the property no more exists. I'm not really sure but probably this condition may be senseless because Ant properties are immutable. Be careful using this condition. You may configure endless loops ! | yes (if no other condition was defined). |
until | Executes the target task again and again until a property named as the value exists. The loop will be aborted if the property exists. Be careful using this condition. You may configure endless loops ! | yes (if no other condition was defined). |