Hi

I've got it to work. There's not much to it and you just have to specify a file name. Just see the Ant core tasks sections in ant.apache.org for examples:

   <compile >
       <record name="log.txt" action="start"/>
       <javac ...
       <record name="log.txt" action="stop"/>
   <compile/>

And a record task can be stated right before your very 1st target to start a recording session immediately. It work for me with the latest Ant version. The only caveat is that if you're using Anthill or a product to automate the builds, it may not like and it will not allow a recording session to initiate. I had to disable my recording session/task in Anthill, understandably so, it was redundant.


----Original Message Follows----
From: "Parimala" <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
To: <[email protected]>
Subject: record task
Date: Thu, 23 Jun 2005 15:13:51 +0530
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.199]) by mc4-f39.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 23 Jun 2005 20:21:07 -0700
Received: (qmail 70112 invoked by uid 500); 24 Jun 2005 03:21:00 -0000
Received: (qmail 70099 invoked by uid 99); 24 Jun 2005 03:21:00 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2005 20:21:00 -0700
Received: neutral (asf.osuosl.org: local policy)
Received: from [164.164.162.195] (HELO medicomsoft.com) (164.164.162.195) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2005 20:21:01 -0700 Received: from Parimala ([192.5.2.18])by medicomsoft.com (mail.blr.medicomsoft.com)(MDaemon.PRO.v7.2.3.R)with ESMTP id md50000133838.msgfor <[email protected]>; Fri, 24 Jun 2005 08:53:59 +0530
X-Message-Info: JGTYoYF78jFscJOzR2hT1L+Qet2W1/oywAMOX7HhgZw=
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Post: <mailto:[email protected]>
List-Id: "Ant Users List" <user.ant.apache.org>
Delivered-To: mailing list [email protected]
X-ASF-Spam-Status: No, hits=0.0 required=10.0tests=
X-Spam-Check-By: apache.org
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
X-Spam-Processed: mail.blr.medicomsoft.com, Fri, 24 Jun 2005 08:53:59 +0530(not processed: message from valid local sender)
X-MDRemoteIP: 192.5.2.18
X-Return-Path: [EMAIL PROTECTED]
X-MDaemon-Deliver-To: [email protected]
X-Virus-Checked: Checked by ClamAV on apache.org
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 24 Jun 2005 03:21:07.0350 (UTC) FILETIME=[C2B67B60:01C5786B]

Hi All,
        How to use record task and what exactly it does. I tried to use it but 
it's
not crating the output file at all.
        What could be teh possible reason???? any alternate for that?

thanks in advance.
Parimala



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to