Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 57800 invoked from network); 14 Jul 2005 14:24:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Jul 2005 14:24:41 -0000 Received: (qmail 85226 invoked by uid 500); 14 Jul 2005 14:24:31 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 85158 invoked by uid 500); 14 Jul 2005 14:24:31 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 85145 invoked by uid 99); 14 Jul 2005 14:24:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2005 07:24:30 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_40_50,HTML_MESSAGE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mlybarger@gmail.com designates 64.233.170.201 as permitted sender) Received: from [64.233.170.201] (HELO rproxy.gmail.com) (64.233.170.201) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2005 07:24:27 -0700 Received: by rproxy.gmail.com with SMTP id z35so493865rne for ; Thu, 14 Jul 2005 07:24:28 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=bGmCEPBON9AO5nrMSu+ifsrpsdlbl2+p/MyzAJkPnkuGVWgFuv4wjjX2p0RAVTvSrszpZkjFIKWycwG72Wtq/gDJBjfcFq6U+p1tyZSQKDJEMH+EDdr10S4zLUwDNmAq8qFrkVZSNG0fP6Jsj87SQAyhalkRZP2P8mhQc3MjD8o= Received: by 10.11.118.76 with SMTP id q76mr13342cwc; Thu, 14 Jul 2005 07:24:28 -0700 (PDT) Received: by 10.11.118.59 with HTTP; Thu, 14 Jul 2005 07:24:28 -0700 (PDT) Message-ID: Date: Thu, 14 Jul 2005 10:24:28 -0400 From: Mark Lybarger Reply-To: Mark Lybarger To: Ant Users List Subject: Re: using tstamp to time a macro execution In-Reply-To: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_917_20668077.1121351068162" References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_917_20668077.1121351068162 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline thanks for the suggestion, but i'm not sure i can introduce ant-contrib=20 tasks. On 7/14/05, Shatzer, Larry wrote: >=20 > Ant-contrib has a stopwatch task: > http://ant-contrib.sourceforge.net/tasks/tasks/stopwatch_task.html >=20 > You also might want to look at their performance monitor: > http://ant-contrib.sourceforge.net/tasks/tasks/performance_monitor.html >=20 > > -----Original Message----- > > From: Mark Lybarger [mailto:mlybarger@gmail.com] > > Sent: Thursday, July 14, 2005 6:43 AM > > To: Ant Users List > > Subject: using tstamp to time a macro execution > > > > > > I currently have a macro definition like so: > > > > > > > > > > > > > classpathref=3D"compiler.run.classpath.id > > "> > > > > > > > > > > > > Completed Compile of @{projectDir} At: ${BUILD_TIMESTAMP} > > > > > > > > the issue is that when i call it twice, i get the same time > > stamp output. > > this is b/c properties are immutable. it'd be nice to be able > > to time the > > execution of the macrodef, display start/stop time, and even time > > difference. ideas? suggestions? > > > > thanks! > > ~mark > > >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 > ------=_Part_917_20668077.1121351068162--