Not tried

TaskAdapter ta = new TaskAdapter();
ta.setProxy( new WaitFor() );
(new Sequential).addTask(ta);


mmmhhh ... for these scenario we should provide a constructor
  TaskAdapter()
  TaskAdapter(Object proxy)



Jan


 

>-----Ursprüngliche Nachricht-----
>Von: Steve Loughran [mailto:[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 
>an execute 
>method.
>
>-steve
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to