ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Programmatically stopping build
Date Wed, 27 Mar 2002 13:20:03 GMT
On Tue, 26 Mar 2002, Gordon Tyler <gordon.tyler@sitraka.com> wrote:

> As Steve Loughran suggested, perhaps a "cancelBuild" method could be
> added to Project which sets a flag and various points in the build
> code path check that flag and throw a BuildCancelledException if it
> is set.

Sounds OK, but like Steve, I'd suggest to restrict this to checking
between executing different tasks.

Stefan

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


Mime
View raw message