[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-user
Subject:    Re: Control Flow with ANT
From:       Diane Holt <holtdl () yahoo ! com>
Date:       2002-02-28 23:41:06
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic