ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: apply task and parallel execution
Date Mon, 13 Sep 2004 06:13:06 GMT
On Fri, 10 Sep 2004, Vadim Kazakov <> wrote:

> Does anybody know if there is a limit to the number of files you can
> have due to command line restrictions?

In many cases there is and it highly depends on your OS.  Starting
with Ant 1.6 there is a maxparallel attribute that you can use to
instruct Ant to limit this.

> Or can you use arbitrarily large filesets?

You can do so and:

* If you set parallel to false, they'll get passed on the command line
  one by one.

* If you set parallel to true and don't set maxparallel, they'll get
  passed on the command line all at once, potentially causing problems
  with command line length limitations.

* If you set parallel to true and set maxparallel to A (with A > 0),
  Ant will pass at most A filenames on the command line at once.  So
  parallel="false" is the same as parallel="true" maxparallel="1".



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

View raw message