Re: [External] : Antcontrib for task with 'parallel' option is not working in certain Windows Server machines

Dave Brosius <[email protected]> Mon, 25 Jul 2022 19:14:08 -0400
Newsgroups gmane.comp.jakarta.ant.user
Message-ID <[email protected]>
This is really an ant-contrib question,not an ant question, but i guess 
good luck gettingĀ  someone to respond there.


When i look at 0.6 source, here

https://sourceforge.net/projects/ant-contrib/files/ant-contrib/ant-contrib-0.6/ant-contrib-0.6-src.zip/download

the For task doesn't not have a parallel attribute.

I see that laterĀ  versions do

I'd update ant-contrib to

https://search.maven.org/artifact/ant-contrib/ant-contrib/1.0b3/jar

(i'd also update ant to 1.10.12 while you were at it.)


-dave

On 7/25/22 17:36, Munawar Rashid wrote:
> Hi
>
> I'm using Ant 1.9.7 and Antcontrib 0.6. I have a script where I'm using the 'for' task with 'parallel' set to true. It fails on one Windows server
> 2012 R2 machine with error message "for doesn't support the "parallel" attribute". This same script passes in all other Windows 2012 R2
> machines. All the machines are using same Ant and Antcontrib. I'm completely at a loss by this. Please help. One note is that I'm  using the 'for'
> task. Not the 'foreach' task.
>
> Thanks,
> Munawar
>