Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 37375 invoked by uid 500); 19 Jun 2003 18:16:41 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 37354 invoked from network); 19 Jun 2003 18:16:41 -0000 Received: from smtp-out.comcast.net (24.153.64.109) by daedalus.apache.org with SMTP; 19 Jun 2003 18:16:41 -0000 Received: from germane-software.com (pcp02151337pcs.umrion01.pa.comcast.net [68.83.141.160]) by mtaout05.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HGQ00C0OQPA2M@mtaout05.icomcast.net> for user@ant.apache.org; Thu, 19 Jun 2003 14:15:11 -0400 (EDT) Received: (qmail 16089 invoked from network); Thu, 19 Jun 2003 18:15:11 +0000 Received: from unknown (HELO germane-software.com) (216.223.25.12) by 192.168.1.100 with SMTP; Thu, 19 Jun 2003 18:15:11 +0000 Date: Thu, 19 Jun 2003 11:14:58 -0700 From: Dale Anson Subject: Re: Zvi_Q: Progress of build file In-reply-to: To: Ant Users List Message-id: <3EF1FDA2.2080401@germane-software.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3.1) Gecko/20030425 References: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Also look at the antelope source code, http://antelope.sourceforge.net. It calculates the number of targets that will be ran from dependencies and 'ant' and 'antcall' calls, so the percentage on the progress bar works right. It also uses a listener, as Antoine suggested. Dale Anson Rahamim, Zvi (Zvi) ** CTR ** wrote: >Thank you very much! > >Zvi Rahamim > >AVAyA Communication > >email: mailto:rahamim@avaya.com > >Phone: + 972 3 6459195 > > > >-----Original Message----- >From: Antoine Levy-Lambert [mailto:levylambert@tiscali-dsl.de] >Sent: Thursday, June 19, 2003 12:41 PM >To: Ant Users List >Subject: Re: Zvi_Q: Progress of build file > > >What you want to have is called in ant terminology a logger. >Have a look at this page : http://ant.apache.org/manual/listeners.html >You can download the source code of ant and see how you create a custom >logger/listener similar to the ones which are provided by default, >but with the progress bar that you want. >Then to use you logger you start ant with ant -logger my.custom.logger > >Cheers >Antoine >----- Original Message ----- >From: "Rahamim, Zvi (Zvi) ** CTR **" >To: "Ant Users List" >Sent: Thursday, June 19, 2003 8:16 AM >Subject: Zvi_Q: Progress of build file > > >Hi! >I want to create a progress bar that shows the number of targets that were >finished (of a build file) and by that show the percent of the build >process. >How can I do it (from within the java code)? >Thanks! > >Zvi > >--------------------------------------------------------------------- >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 > > >--------------------------------------------------------------------- >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