Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 30876 invoked from network); 8 Jul 2002 17:28:02 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 8 Jul 2002 17:28:02 -0000 Received: (qmail 1741 invoked by uid 97); 8 Jul 2002 17:28:05 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 1725 invoked by uid 97); 8 Jul 2002 17:28:04 -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 1713 invoked by uid 98); 8 Jul 2002 17:28:04 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <03ab01c226a4$c6ccd580$783b8f80@darden.virginia.edu> From: "Erik Hatcher" To: "Ant Users List" References: Subject: Re: how to do automated builds with email, etc. Date: Mon, 8 Jul 2002 13:27:46 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N -logger org.apache.tools.ant.listeners.MailLogger see previous messages even today! there is documentation for this, too, on the Listeners and Loggers page. ----- Original Message ----- From: "Chris Bailey" To: "AntMailingList" Sent: Monday, July 08, 2002 1:23 PM Subject: how to do automated builds with email, etc. > I'd like to set up automated nightly builds with our Ant based builds. My > thought is to be able to put a line like the following in as a cron job: > > ant nightly-build -l build.log > > The target itself does a get from CVS, clean, full build, and then emails > the results, i.e. the "build.log" file. Two questions related to this: > > 1) I don't suppose there's any way to delay the email so that I get the > truly complete build.log file? Right now it's basically complete since the > task happens last, but the last couple lines are usually somewhat > garbled (since Ant is still writing to it, but it's being attached to the > email Ant is sending). > > 2) What other ways do people do this kind of thing? I realize I could > probably do the email as a separate task and use a cron line like: > > ant nightly-build -l build.log; ant email-results > > Or similar, but I like the idea that the task is encapsulated with > the nightly-build task as that's really the semantics of it. > > ____ > Chris Bailey mailto:chris@codeintensity.com > Code Intensity http://www.codeintensity.com > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: