Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Developers List »

AW: Tasks in parallel

Jan Materne

2008-02-27

Replies: Find Java Web Hosting

Author LoginPost Reply
> > 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>


Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@(protected)
For additional commands, e-mail: dev-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.