ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul, R. Chip" <ROY.C.PAUL....@saic.com>
Subject RE: Question about failonerror
Date Tue, 03 Feb 2004 23:07:01 GMT
> The only time I ever use failonerror="false" is to allow generating the
testing report with <junitreport>, so > > that the developer can look at the
failures in the report, and I then actually fail the build.

How do you delay the failure and have it fail the build later?

Chip Paul
Sr Software Engineer
ComFrame Software Corporation
 
Listen.Understand.Innovate
www.comframe.com



-----Original Message-----
From: Dominique Devienne [mailto:DDevienne@lgc.com] 
Sent: Tuesday, February 03, 2004 1:05 PM
To: 'Ant Users List'
Subject: RE: Question about failonerror


> From: Tony Brusseau [mailto:brusseau@cyc.com]
> 
> I just wrote a target that calls junit and
> has different behaviors depending on whether of
> not junit succeeded. To do this I used the
> following attributes:
> 	haltonfailure="off"
>         failureproperty="test-failed"
>
> I'd like to have the same behevior for
> compling, cleaning, "cvsing", installing, etc.

Why? Doesn't an unsuccessful compile warrant a failure?

The only time I ever use failonerror="false" is to allow generating the
testing report with <junitreport>, so that the developer can look at the
failures in the report, and I then actually fail the build.

That's it. Everything else that fails should fail the build, and you should
reconsider doing anything different, IMHO. --DD

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

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


Mime
View raw message