ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: AW: Tasks in parallel
Date Thu, 28 Feb 2008 11:25:00 GMT wrote:
>>> Consider the scenario where the file transfer takes a long time:
>>> would it be a good idea to have the copy/scp/ftp tasks create
>>> different threads for each file?
>> There is no built-in support for anything like this in Ant, no.
>> I could imagine that we'd add a patch that enabled optional (on
>> user-demand) parallel behavior for these tasks.  Personally I see the
>> point for the network transfer kind of tasks, but wouldn't want it on
>> copy, but that may be my experience with a very slow disk in my
>> notebook.
> At first step for improving performance I would think about skipping
> things.
> Why to try to upload a lot of files which havent changed and are already
> there?
> In that case: 
>   <scp><fileset><modified>

<exec> rsync.

rsync is a fantastic way of upload directory trees full of content.

Its not enough to upload separate files in separate threads, or even 
upload changed files, you only want to upload the changed bits of the 
changed files.

Steve Loughran        
Author: Ant in Action 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message