Orangevolt ANT Tasks » Tasks
ExampleExample

2.10.  execute

The execute task works similar to the call task except that is executes a bunch of tasks instead of a target.

The tasks to execute are defined as inner elements of the execute task.

Attributes

Name Description Required
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).