ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Dockter <m...@dockter.biz>
Subject Re: Transfer Listener
Date Wed, 14 Jan 2009 10:38:48 GMT

On Jan 13, 2009, at 12:38 PM, Hans Dockter wrote:

> For Gradle, we try to implement download progress reporting. The way  
> we do this now, is to add a TransferListener to each of the  
> repositories.
>
> If the TransferListener receives the TRANSFER_STARTED event, we  
> print something like: Starting to download <url>. For the succeeding  
> TRANSFER_PROGRESS we print dots. All this works fine, except then  
> when transitive dependencies are downloaded, we get more than one  
> TRANSFER_STARTED event (It seems every resolver in the chain is  
> sending one). This clutters obviously our output.

I have discovered that this is a bug on my side. I have added the same  
listener multiple times to the same resolver.

- Hans

--
Hans Dockter
Gradle Project lead
http://www.gradle.org





Mime
View raw message