Re: Running parallel targets in Ant loop

2009-11-11 Thread Harry_
Yes it is working with attribute parallel="true"... :)_ Thanks a ton Peter... :) Peter Reilly-2 wrote: > > You could use the "parallel" attribute -> > http://ant-contrib.sourceforge.net/tasks/tasks/for.html > > WARNING:: although I wrote the task, I have never used the parallel > attribute, s

Re: Running parallel targets in Ant loop

2009-11-11 Thread Harry_
Thanks for replying... But using within for loop (see how I used it below) is not serving my purpose... It is firing antcall's sequentially... I want to run multiple instances of target "run-test" with different values for id param

RE: Running parallel targets in Ant loop

2009-11-11 Thread Wray, Nathan
Harry, put the parallel inside the sequential. They aren't a pair where you would choose one or the other. The sequential task has hooks that let the loop structure set the variable for you. Inside sequential, you can access idx as @{idx} rather than the more usual ${idx}

Re: Running parallel targets in Ant loop

2009-11-11 Thread Peter Reilly
You could use the "parallel" attribute -> http://ant-contrib.sourceforge.net/tasks/tasks/for.html WARNING:: although I wrote the task, I have never used the parallel attribute, since most of ant is not parallel safe. Peter > > you can use task > > > Harry_ wrote: >> >> Hi, >> >> I need to run m

Re: Running parallel targets in Ant loop

2009-11-11 Thread cvsusr
you can use task.. Harry_ wrote: > > Hi, > > I need to run multiple target in Ant's loop. How can I achieve this. I am > able to make antcall in sequential way as described below. > > > > > > >