You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Parimala <pa...@medicomsoft.com> on 2005/06/23 11:43:51 UTC

record task

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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


RE: record task

Posted by S I <xi...@hotmail.com>.
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" <pa...@medicomsoft.com>
Reply-To: <pa...@medicomsoft.com>
To: <us...@ant.apache.org>
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 <us...@ant.apache.org>; Fri, 24 Jun 2005 08:53:59 +0530
X-Message-Info: JGTYoYF78jFscJOzR2hT1L+Qet2W1/oywAMOX7HhgZw=
Mailing-List: contact user-help@ant.apache.org; run by ezmlm
Precedence: bulk
List-Unsubscribe: <ma...@ant.apache.org>
List-Help: <ma...@ant.apache.org>
List-Post: <ma...@ant.apache.org>
List-Id: "Ant Users List" <user.ant.apache.org>
Delivered-To: mailing list user@ant.apache.org
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: parimala@medicomsoft.com
X-MDaemon-Deliver-To: user@ant.apache.org
X-Virus-Checked: Checked by ClamAV on apache.org
Return-Path: user-return-50807-xiamak=hotmail.com@ant.apache.org
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org