ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Anson <>
Subject Re: notification of failed javac
Date Fri, 13 Dec 2002 21:35:38 GMT
Check out the "Try" task that is distributed with Antelope 
( It lets you do things like:

    <javac .../>
        <mail .../>
        <fail message="javac failed"/>

Documentation for this task is at

Euan Guttridge wrote:

>Is there a way to send an email *if* a [javac] compile fails?
>One way I can think of is to set the failonerror="false" property and then
>use an "if" clause on the next task - but I can't work out how to set the
>property in the javac task *if* it fails... 
>To unsubscribe, e-mail:   <>
>For additional commands, e-mail: <>

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

View raw message