Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 33246 invoked from network); 2 Nov 2000 12:04:41 -0000 Received: from pop.gmx.net (HELO mail.gmx.net) (194.221.183.20) by locus.apache.org with SMTP; 2 Nov 2000 12:04:41 -0000 Received: (qmail 11366 invoked by uid 0); 2 Nov 2000 12:04:13 -0000 Received: from sungold10.de.ibm.com (HELO gmx.net) (194.196.100.65) by mail.gmx.net with SMTP; 2 Nov 2000 12:04:13 -0000 Message-ID: <3A015740.41C1B5EA@gmx.net> Date: Thu, 02 Nov 2000 13:00:00 +0100 From: schmitt X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: Re: Question about References: <39FEE157.B9D966AF@gmx.net> <3A013BE1.4AF37A82@gmx.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Thanks again The FAQ helped me. Stefan Bodewig wrote: > >>>>> "s" == schmitt writes: > > s> Is it possible to check inside the xml file if the build was > s> successful? > > I'm not sure I understand your question. Currently, if a build was not > successful, Ant would throw a BuildException and stop the whole > process. This means, if your mail task is executed, you can be sure > the build has been successful up to here - otherwise you wouldn't get > a chance to send the mail. > > If you want to send a mail containing information about the outcome of > the build, is not the way to go. Use a BuildListener instead, > there's an example in the FAQ that does exactly this. > > Stefan