Re: TImestamping in ANT

2007-08-04 Thread Dale Anson
The Antelope downloads are here: http://antelope.tigris.org/servlets/ProjectDocumentList However dkhanna01 wrote: HI, I tried with net.sf.antcontrib.perf.AntPerformanceListener but every time I create a build it failed saying java.lang.OutOfMemoryError: Java heap space Java heap space T

Re: TImestamping in ANT

2007-08-01 Thread dkhanna01
HI, I tried with net.sf.antcontrib.perf.AntPerformanceListener but every time I create a build it failed saying java.lang.OutOfMemoryError: Java heap space Java heap space This happens abruptly at any place during cmpile time. Now the same build is running fine with ANT 1.6.1 and without using

Re: TImestamping in ANT

2007-07-26 Thread Dale Anson
Another option for this is to use either the stopwatch task or the performance listener from either antcontrib (antcontribe.sourceforge.net) or antelope (antelope.tigris.org). The performance listener is actually quite nice in that it gathers the statistics as the build runs, then outputs the

Re: TImestamping in ANT

2007-07-26 Thread Wascally Wabbit
Sorry, Incomplete original example methinks. If you change - to + it should work. --- [ A WORKING EXAMPLE TO DEMONSTRATE (TESTED ;-))] Here's a working sample (assuming AntX is installed in a directory at ./antx relative to test script):

Re: TImestamping in ANT

2007-07-26 Thread dkhanna01
first of all thanks for the information I tried to load antx libraries and it did worked, BUT while calculating the duration its giving me an error as : Unable to convert 'now' to time duration. compile took -now Here is my code:

Re: TImestamping in ANT

2007-07-19 Thread Wascally Wabbit
Hi, The assign task is already defined for you as part of the AntXtras antlib. The easiest thing to do is to load the entire antlib and experiment. *See the Quick Start and User Guide for additional information*. Example (assuming at least Ant 1.6.5, and AntXtras bin download to some local direc

Re: TImestamping in ANT

2007-07-19 Thread dkhanna01
Hi I downloaded the antxtras unility from the site but the two jar files in that does not contain class file for assign task. SO when I try to run my script after adding assing task it gave an error that " Problem: failed to create task or type assign" THanks Wascally Wabbit wrote: > > dkhann

Re: TImestamping in ANT

2007-07-19 Thread Wascally Wabbit
dkhanna01 wrote: I need to find out the time taken by each of the process/target in our build.xml file. Now for doing this I have use ANT tstamp task to calculate the start time and end time of the process. Now my question is how do I find out the total time taken by the process, I mean is there

RE: TImestamping in ANT

2007-07-17 Thread James Oltmans
Another good option if you are not opposed to ant-contrib is the stopwatch task. http://ant-contrib.sourceforge.net/tasks/tasks/stopwatch_task.html -Original Message- From: dkhanna01 [mailto:[EMAIL PROTECTED] Sent: Monday, July 09, 2007 11:30 AM To: user@ant.apache.org Subject: TImestam

Re: TImestamping in ANT

2007-07-09 Thread Alexey Solofnenko
I parse the build output in real time and note when ":" lines are printed to calculate time spend by each target and groups of targets (targets with the same prefix). You can print some special prefix following with the current timestamp (preferably System.currentTimeMillis() - easier to parse)

RE: TImestamping in ANT

2007-07-09 Thread Burgess, Benjamin
You could use a build listener rather than changing the Ant build scripts themselves with new tasks. See https://antutility.dev.java.net/ Ben -Original Message- From: dkhanna01 [mailto:[EMAIL PROTECTED] Sent: Monday, July 09, 2007 1:30 PM To: user@ant.apache.org Subject: TImestamping in