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 87479 invoked from network); 14 Aug 2000 13:25:31 -0000 Received: from mta05.mail.au.uu.net (HELO mta05.mail.mel.aone.net.au) (203.2.192.85) by locus.apache.org with SMTP; 14 Aug 2000 13:25:31 -0000 Received: from cognetnt ([63.34.199.10]) by mta05.mail.mel.aone.net.au with SMTP id <20000814132528.WKUE3895.mta05.mail.mel.aone.net.au@cognetnt> for ; Mon, 14 Aug 2000 23:25:28 +1000 From: "Conor MacNeill" To: Subject: RE: Any way to log information other then through the command line? Date: Mon, 14 Aug 2000 23:24:05 +1000 Message-ID: <004301c005f2$eb569b40$80dc1fcb@cognet.com.au> 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 8.5, Build 4.71.2173.0 In-Reply-To: <6DDA62170439D31185750000F80826AC0366DFB5@zmerd004.ca.nortel.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Jay, You can write your own listener to capture information from a specific task and then add that listener to ant. Read the section on "Build Events" in the ant documentation. If you have any questions, give me a yell. Conor > -----Original Message----- > From: Jay Glanville [mailto:dickon@nortelnetworks.com] > Sent: Monday, 14 August 2000 23:13 > To: Ant-User (text) > Subject: Any way to log information other then through the command line? > > > Is there any way to capture logging information, or task output, through a > way other then the command line option? > > For example, I want to run the javac task. I want to capture the > output of > this build target in a file -- JUST the javac task, not the ant > output. The > reason for this is because I then want to do something within > this target to > that output. The actions to be performed on this information > could be many. > For example, e-mail the compiler log to a loadbuilder (in the case of an > automated loadbuild process). Or, to move the log file to an HTML area, > showing the status of various loadbuild projects. > > I personally see this to be a useful thing for all tasks, but most useful > for things like the build (javac) and run (java) tasks. > > Is this available? Is this a future intention? > > ------------------------------------------------------------------ > ---------- > ----- > Jay Dickon Glanville > P068 - SiteManager Development, Nortel Networks > 613-765-1144 (ESN 395-1144) > MS: 045/55/A05 > E-Mail: dickon@nortelnetworks.com > >