Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 90735 invoked from network); 5 Dec 2002 21:40:13 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 5 Dec 2002 21:40:13 -0000 Received: (qmail 11806 invoked by uid 97); 5 Dec 2002 21:41:14 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 11746 invoked by uid 97); 5 Dec 2002 21:41:13 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 11723 invoked by uid 98); 5 Dec 2002 21:41:12 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: From: Dominique Devienne To: "'Ant Users List'" Subject: RE: Question about nightly builds using ant.... Date: Thu, 5 Dec 2002 15:40:03 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is usually done using the MailLogger I believe. --DD -----Original Message----- From: Rahul Biswas [mailto:rahul.biswas@sun.com] Sent: Thursday, December 05, 2002 3:23 PM To: Ant Users List Subject: Question about nightly builds using ant.... I am trying to accomplish the following: have ant based nightly build scripts which are run through cron job. The nightly ant build script is a root ant script which itself invokes other ant scripts (for different component) to do the build. At the end of the build (successful/failure - which can be for reasons other than javac ) I want to be able to send a mail. At this point of time...I have done this using two cron jobs, one does the build other does the mailing, with the body containing the output file from the previous job. Problem I encountered in a single ant job was that on failure, the ant script would stop at the call and not execute the mail task. Is there a better way to accomplish this ? I want to be able to flag my mail subject as Success/failure so that we have the ability to filter out successul builds if wanted in the mail. Is there a way to set a property on failure or any other way to do this one ? Thanks & Regards Rahul -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: