ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Stör <>
Subject RE: "Return values" with Ant?
Date Thu, 28 Oct 2004 20:26:07 GMT
Kris Read <> 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?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message