Re: adding a waitfor to a sequence

2007-10-29 Thread Steve Loughran
Matt Benson wrote: Sorry, guys--multitasking and responded to Steve's query without updating my inbox first. Then had a race condition with Jan to add the convenience constructor. ;) no problem, thank you both :) you will soon have a task to test with. Actually, the task itself isnt that ea

Re: adding a waitfor to a sequence

2007-10-29 Thread Matt Benson
Sorry, guys--multitasking and responded to Steve's query without updating my inbox first. Then had a race condition with Jan to add the convenience constructor. ;) -Matt --- Matt Benson <[EMAIL PROTECTED]> wrote: > > --- Steve Loughran <[EMAIL PROTECTED]> wrote: > > > > > How do I go (new

Re: adding a waitfor to a sequence

2007-10-29 Thread Matt Benson
--- Steve Loughran <[EMAIL PROTECTED]> wrote: > > How do I go (new Sequential).addTask(new > WaitFor())? > > Because WaitFor is not a task, just a project > component with an execute > method. Can't you use a TaskAdapter in code? -Matt > > -steve > > -

Re: AW: adding a waitfor to a sequence

2007-10-29 Thread Steve Loughran
[EMAIL PROTECTED] wrote: Not tried TaskAdapter ta = new TaskAdapter(); ta.setProxy( new WaitFor() ); (new Sequential).addTask(ta); that's it. FWIW, I'm doing a functional test task for Ant, based on my experience with the SmartFrog one, but not using any of the existing code. This one will

AW: adding a waitfor to a sequence

2007-10-29 Thread Jan.Materne
[EMAIL PROTECTED] >Gesendet: Montag, 29. Oktober 2007 16:31 >An: Ant Developers List >Betreff: adding a waitfor to a sequence > > >How do I go (new Sequential).addTask(new WaitFor())? > >Because WaitFor is not a task, just a project component with &

adding a waitfor to a sequence

2007-10-29 Thread Steve Loughran
How do I go (new Sequential).addTask(new WaitFor())? Because WaitFor is not a task, just a project component with an execute method. -steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL