You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Mariusz Nowostawski <ma...@marni.otago.ac.nz> on 2000/07/23 05:33:34 UTC

[patch] executeon with parallel/sequential modes

Hi,

I have written additional attribute for executeon, namely 'sequential'.
If value of the attribute 'sequential' is one which starts with "on",
"yes", "true", or "1", the execution is one call to executable per each
single file attached as an argument.
If this attribute is skipped or does not match above pattern (nice users
should use e.g. "off" ;o) the parallel execution is assumed, and there is
only one call to executable with the list of files. It works for trivial
tests with ls for me at the moment  ;o)
If you eventually decide to refactor existing source, I suggest renaming
the task to <execon> and class to ExecOnTask.java, to which nobody seems
not to have objections.

cheers
Mariusz


Stefan wrote:
[...]
> I will have a look at your patch later this day or maybe even tonight
> - in which case you will see the result tommorow in my timezone. We
> should make the decission between sequential and parallel execution an
> user option - transforming SGML files into RTF using jade would be my
> standard example where sequential mode is needed.
[...]