ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Stör <mar...@frightanic.com>
Subject RE: "Return values" with Ant?
Date Thu, 28 Oct 2004 20:26:07 GMT
Kris Read <mailto:kris.read@gmail.com> wrote:
> Use the tasks in the antcontrib project.  They have an antcall task
> that returns a property or set of properties.
> 
> Another way is to structure your file with the 'depends' attribute.  X
> does not execute unless Y executed.

Ok, fine. Let's assume X depends on Y and Z.

What happens if the JUnit tests in Y fail as with
<fail if="test.failed">Unit tests failed.... etc

Is X interrupted i.e. build failed and Z is thus never invoked?

Regards,
Marcel


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


Mime
View raw message