ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: Control Flow with ANT
Date Thu, 28 Feb 2002 23:41:06 GMT
--- "Prabhakar, V" <V.Prabhakar@compaq.com> wrote:
> For instance, I am planning to use ANT to perform a set of tasks:
> compile and deploy. If the compilation fails, I do not want to proceed
> with deployment.

Some tasks, including <javac>, have a (boolean) 'failonerror' attribute --
set to true, the build will fail if there's an error; set to false, the
build proceeds despite any errors. The default is "true" for <javac>, so
you don't need to set it to get the behaviour you want.

> I want to just notify using email. 

See the MailLogger documentation:
http://cvs.apache.org/viewcvs/~checkout~/jakarta-ant/docs/manual/listeners.html?rev=1.3&content-type=text/plain#MailLogger

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

--
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