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
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
--- 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
>
>
-
[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
[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
&
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