ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: adding a waitfor to a sequence
Date Mon, 29 Oct 2007 15:49:59 GMT
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:stevel@apache.org] 
>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: dev-unsubscribe@ant.apache.org
>For additional commands, e-mail: dev-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message