ant-contrib is totally separate from ant. The ant group can not affect
it at all. It is an orphaned project that someone created 15 years ago.
It's amazing it works at all.
On 7/28/22 11:25, Munawar Rashid wrote:
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://urldefense.com/v3/__https://sourceforge.net/projects/ant-contrib/files/ant-contrib/ant-contrib-0.6/ant-contrib-0.6-src.zip/download__;!!ACWV5N9M2RV99hQ!OvtVTTLPEuxmQGf8owfDUtOxrGQg_iI6QsFFnIoHi-0iKBXPi7ySHows7xudQW_CyT-2KLg8bF75SiDRkwWF5Zc$
the For task doesn't not have a parallel attribute.
I see that later versions do
I'd update ant-contrib to
https://urldefense.com/v3/__https://search.maven.org/artifact/ant-contrib/ant-contrib/1.0b3/jar__;!!ACWV5N9M2RV99hQ!OvtVTTLPEuxmQGf8owfDUtOxrGQg_iI6QsFFnIoHi-0iKBXPi7ySHows7xudQW_CyT-2KLg8bF75SiDRXvEdDhY$
(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
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org