Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 1872 invoked from network); 22 Dec 2005 23:22:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Dec 2005 23:22:46 -0000 Received: (qmail 69999 invoked by uid 500); 22 Dec 2005 23:22:41 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 69943 invoked by uid 500); 22 Dec 2005 23:22:40 -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 69913 invoked by uid 99); 22 Dec 2005 23:22:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Dec 2005 15:22:39 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [209.73.178.208] (HELO web60720.mail.yahoo.com) (209.73.178.208) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 22 Dec 2005 15:22:39 -0800 Received: (qmail 71862 invoked by uid 60001); 22 Dec 2005 23:22:16 -0000 Message-ID: <20051222232216.71859.qmail@web60720.mail.yahoo.com> Date: Thu, 22 Dec 2005 15:22:16 -0800 (PST) From: William Louth Subject: Re: Target duration To: Ant Users List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You might also want to check out, JXInsight, an extensible distributed tracing and profiling product that provides a powerful visualization console and indepth JVM metrics (cpu time, high resolution clock times, thread blocking and waiting, GC, object allocations as well as JUnit, Log4j and Java Logging trace integrations. http://www.jinspired.com/products/jdbinsight/antjunittracing.html This articles looks at how JXInsight can be used to trace and profile the execution of Ant build projects, targets, and tasks. Showing a new integrated extension for JUnit that supports tracing of local and distributed (forked process) tests executed by the Ant JUnit task. Using Hibernate 3.0 as the build project example the article demonstrates how to trace across multiple JVM's and JXInsight trace extensions (Apache Ant, JUnit, and JDBC/JDBInsight) - correlating transaction paths and SQL statements with resulting distributed traces. Regards, William Louth JXInsight Product Architect JInspired "J*EE tuning, testing and tracing with JXInsight" http://www.jinspired.com ----- Original Message ---- From: Jeffrey E Care To: Ant Users List Sent: Fri Dec 23 05:29:31 2005 Subject: Re: Target duration For building WebSphere Application Server we have a custom logger that calculates durations for all contexts (i.e. top-level builds, sub-builds, targets & tasks). You can do the same fairly easily by extending the core loggers that come with Ant. I would share our code, but unfortunately it's IBM confidential. JEC -- Jeffrey E. Care (carej@us.ibm.com) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) "Bruno PRIN" wrote on 12/22/2005 11:29:16 AM: > > Hello, > > We use ant to build 130 modules. > The compilation ant building step take over 10 hours, we want to know > which step spend more time. > > The project is launch several times, i know the time spend by each > launch of the project but I want to know the detail by target. > > Is there an option to display the time spend by each target ? > > Thanks > > --------------------------------------------------------------------- > 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