----- Original Message -----
From: "Alex Solofnenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 22, 2001 2:05 AM
Subject: RE: Order of Depends


> Maybe another syntax can be added to ant: <target name="x"
depends="a|b|c"/>?
>

And that does mean what? X depends on a or b or c? Should b be executed if a
was executed successful? Maybe we should also add something like

- <target name="x" depends="a && (b|c)"/> (execute a, if that is successful
execute b and if b fails execute c)
- <target name="x" depends="!a || (b && c)"/> (execute a. If a fails execute
b and c)
- <target name="x" depends="a[1...3]"/> (x depends on targets a1, a2 and a3)

:-)

Nico



Reply via email to