You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Steve Loughran <st...@apache.org> on 2007/10/29 16:30:34 UTC

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


Re: adding a waitfor to a sequence

Posted by Steve Loughran <st...@apache.org>.
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 easy to rewrite; I've found and fixed various timeout bugs in the 
setup/teardown stages. Its the testing of the test task, that's the hard 
thing.



-- 
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

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


Re: adding a waitfor to a sequence

Posted by Matt Benson <gu...@yahoo.com>.
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 <gu...@yahoo.com> wrote:

> 
> --- Steve Loughran <st...@apache.org> 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
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > dev-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> > dev-help@ant.apache.org
> > 
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> dev-help@ant.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Re: adding a waitfor to a sequence

Posted by Matt Benson <gu...@yahoo.com>.
--- Steve Loughran <st...@apache.org> 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
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> dev-help@ant.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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