ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: Control Flow with ANT
Date Thu, 28 Feb 2002 23:41:06 GMT
--- "Prabhakar, V" <> 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:



Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message