ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Solofnenko" <asolofne...@concordesolutions.com>
Subject RE: Order of Depends
Date Thu, 22 Feb 2001 07:19:09 GMT
Sorry, too many ITs... <antcall> can break a build by executing some targets twice.

-----Original Message-----
From: Alex Solofnenko [mailto:asolofnenko@concordesolutions.com]
Sent: Wednesday, February 21, 2001 10:45 PM
To: ant-dev@jakarta.apache.org
Subject: RE: Order of Depends


No, I meant an UNIX pipe. The syntax is not important '&' sign is also good. Its implementation
can be tricky in a multithreaded environment, but I think it is better than <antcall/>
- it  will break the normal target execution and some targets can be executed twice.

-----Original Message-----
From: Nico Seessle [mailto:nico@apache.org]
Sent: Wednesday, February 21, 2001 2:39 PM
To: ant-dev@jakarta.apache.org
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




---------------------------------------------------------------------
To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ant-dev-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ant-dev-help@jakarta.apache.org

Mime
View raw message