Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 33649 invoked from network); 8 Jul 2002 17:31:18 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 8 Jul 2002 17:31:18 -0000 Received: (qmail 8837 invoked by uid 97); 8 Jul 2002 17:31:24 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 8808 invoked by uid 97); 8 Jul 2002 17:31:24 -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 8794 invoked by uid 98); 8 Jul 2002 17:31:23 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) From: "Maciej Zawadzki" To: "Ant Users List" Subject: RE: how to do automated builds with email, etc. Date: Mon, 8 Jul 2002 13:28:23 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 In-Reply-To: Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Chris, Check out Anthill (http://www.urbancode.com/projects/anthill/). It is a build management system integrated with ANT. You can set your projects up in Anthill so that Anthill will perform a nightly build on them and send out emails to all interested parties. It's not exactly the all ANT approach to solving the problem you mention, but it does work. Hope that helps. --Maciej > -----Original Message----- > From: Chris Bailey [mailto:chris@codeintensity.com] > Sent: Monday, July 08, 2002 1:24 PM > To: AntMailingList > 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: