ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <n...@apache.org>
Subject Re: Order of Depends
Date Wed, 21 Feb 2001 22:38:56 GMT
----- Original Message -----
From: "Alex Solofnenko" <asolofnenko@concordesolutions.com>
To: <ant-dev@jakarta.apache.org>
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




Mime
View raw message