Hi Dave, I can update to 1.0b3 easily. I do have an issue with unavailability of few advanced if-else conditions like (isLessThan, isGreaterThan, etc.) in 1.0b3 according to the error message I got. What is puzzling is that even though 'For' task doesn't have the 'parallel' option in 0.6, how come it runs fine in some Windows Server box and not in others. This is what I'm trying to understand as it seems kind of fundamental to Ant's runtime and would love to get to the bottom of. Fortunately, the job we need to run in the server with issue with 'parallel' option of 'For', can be handled manually for now.
Thanks, Munawar ________________________________ From: Dave Brosius <dave.bros...@oracle.com> Sent: Monday, July 25, 2022 7:14 PM To: user@ant.apache.org <user@ant.apache.org> Subject: Re: [External] : Antcontrib for task with 'parallel' option is not working in certain Windows Server machines 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org