If either Y or Z (or X) fails, the build fails...  a fail is a fail. 

If you want to have failures of prerequisite tasks that do not
necessarilly mean a failure, you can use the try/catch tags, I think
also part of antcontrib...


On Thu, 28 Oct 2004 22:26:07 +0200, Marcel St�r <[EMAIL PROTECTED]> wrote:
> Kris Read <mailto:[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to