ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Anson <dan...@germane-software.com>
Subject Re: Zvi_Q: Progress of build file
Date Thu, 19 Jun 2003 18:14:58 GMT
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 **" <rahamim@avaya.com>
>To: "Ant Users List" <user@ant.apache.org>
>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


Mime
View raw message